diff --git a/.github/workflows/issue-check-inactive.yml b/.github/workflows/issue-check-inactive.yml deleted file mode 100644 index e4ee1732d..000000000 --- a/.github/workflows/issue-check-inactive.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Issue Check Inactive - -on: - schedule: - - cron: "0 0 */15 * *" - -jobs: - issue-check-inactive: - runs-on: ubuntu-latest - steps: - - name: check-inactive - uses: actions-cool/issues-helper@v2 - with: - actions: 'check-inactive' - inactive-label: 'Inactive' - inactive-day: 30 \ No newline at end of file diff --git a/.github/workflows/issue-recent-alert.yml b/.github/workflows/issue-recent-alert.yml index 91a8edee0..0255783f5 100644 --- a/.github/workflows/issue-recent-alert.yml +++ b/.github/workflows/issue-recent-alert.yml @@ -1,6 +1,6 @@ on: schedule: - - cron: "0 9 * * *" + - cron: "0 1 * * *" name: Check recent handle issues diff --git a/.github/workflows/issue-inactive-alert.yml b/.github/workflows/issue-untimely-alert.yml similarity index 59% rename from .github/workflows/issue-inactive-alert.yml rename to .github/workflows/issue-untimely-alert.yml index a4e413209..b0e2a5570 100644 --- a/.github/workflows/issue-inactive-alert.yml +++ b/.github/workflows/issue-untimely-alert.yml @@ -1,17 +1,17 @@ on: schedule: - - cron: "0 9 * * 1" + - cron: "0 9 * * 1-5" -name: Check inactive issues +name: Check untimely handle issues jobs: - check-inactive-issues: + check-untimely-handle-issues: runs-on: ubuntu-latest steps: - - name: Check inactive issues and send msg + - name: Check untimely issues and send msg uses: jumpserver/action-issues-alert@master with: hook: ${{ secrets.WECHAT_GROUP_WEB_HOOK }} - type: inactive + type: untimely env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}