workflow: 添加定时检查issue的workflow

pull/7323/head^2
ibuler 2021-12-03 19:20:47 +08:00 committed by Jiangjie.Bai
parent 36c6299a03
commit 495a6fbc95
2 changed files with 30 additions and 0 deletions

View File

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

View File

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