perf: 添加 issues workflow

pull/7337/head
ibuler 2021-12-07 18:27:35 +08:00 committed by 老广
parent adb9f01231
commit 8536e6fca7
3 changed files with 6 additions and 22 deletions

View File

@ -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

View File

@ -1,6 +1,6 @@
on:
schedule:
- cron: "0 9 * * *"
- cron: "0 1 * * *"
name: Check recent handle issues

View File

@ -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 }}