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