From 8536e6fca770147f8dbc85a7e5122001ec45da57 Mon Sep 17 00:00:00 2001 From: ibuler <ibuler@qq.com> Date: Tue, 7 Dec 2021 18:27:35 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=B7=BB=E5=8A=A0=20issues=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/issue-check-inactive.yml | 16 ---------------- .github/workflows/issue-recent-alert.yml | 2 +- ...active-alert.yml => issue-untimely-alert.yml} | 10 +++++----- 3 files changed, 6 insertions(+), 22 deletions(-) delete mode 100644 .github/workflows/issue-check-inactive.yml rename .github/workflows/{issue-inactive-alert.yml => issue-untimely-alert.yml} (59%) 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 }}