mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 08:19:04 +00:00
workflow: 添加定时检查issue的workflow
This commit is contained in:
15
.github/workflows/issue-inactive-alert.yml
vendored
Normal file
15
.github/workflows/issue-inactive-alert.yml
vendored
Normal 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 }}
|
15
.github/workflows/issue-recent-alert.yml
vendored
Normal file
15
.github/workflows/issue-recent-alert.yml
vendored
Normal 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 }}
|
Reference in New Issue
Block a user