From 495a6fbc95228e7952ecfe1355090ef4da906006 Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 3 Dec 2021 19:20:47 +0800 Subject: [PATCH] =?UTF-8?q?workflow:=20=E6=B7=BB=E5=8A=A0=E5=AE=9A?= =?UTF-8?q?=E6=97=B6=E6=A3=80=E6=9F=A5issue=E7=9A=84workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/issue-inactive-alert.yml | 15 +++++++++++++++ .github/workflows/issue-recent-alert.yml | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/workflows/issue-inactive-alert.yml create mode 100644 .github/workflows/issue-recent-alert.yml diff --git a/.github/workflows/issue-inactive-alert.yml b/.github/workflows/issue-inactive-alert.yml new file mode 100644 index 000000000..7396f3677 --- /dev/null +++ b/.github/workflows/issue-inactive-alert.yml @@ -0,0 +1,15 @@ +on: + schedule: + - cron: "0 9 * * 1" + +jobs: + check-inactive-issues: + runs-on: ubuntu-latest + steps: + - name: Check inactive issues and send msg + uses: jumpserver/action-issues-alert@master + with: + hook: ${{ secrets.WECHAT_GROUP_WEB_HOOK }} + type: inactive + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/issue-recent-alert.yml b/.github/workflows/issue-recent-alert.yml new file mode 100644 index 000000000..2027d6ac4 --- /dev/null +++ b/.github/workflows/issue-recent-alert.yml @@ -0,0 +1,15 @@ +on: + schedule: + - cron: "0 9 * * *" + +jobs: + check-recent-issues-not-handle: + runs-on: ubuntu-latest + steps: + - name: Check recent issues and send msg + uses: jumpserver/action-issues-alert@master + with: + hook: ${{ secrets.WECHAT_GROUP_WEB_HOOK }} + type: recent + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file