chore: 人工处理方式处理 Issue
This commit is contained in:
parent
6fa558df91
commit
34c9d8cad7
16
.github/workflows/issue-check-inactive.yml
vendored
16
.github/workflows/issue-check-inactive.yml
vendored
@ -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
|
|
||||||
19
.github/workflows/issue-close-require.yml
vendored
19
.github/workflows/issue-close-require.yml
vendored
@ -1,19 +0,0 @@
|
|||||||
name: Issue Close Require
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 0 * * *"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
issue-close-require:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: need reproduce
|
|
||||||
uses: actions-cool/issues-helper@v2
|
|
||||||
with:
|
|
||||||
actions: 'close-issues'
|
|
||||||
labels: '状态:待反馈'
|
|
||||||
inactive-day: 30
|
|
||||||
body: |
|
|
||||||
您超过 30 天未反馈信息,我们将关闭该 issue,如有需求您可以重新打开或者提交新的 issue。
|
|
||||||
|
|
||||||
38
.github/workflows/issue-comment.yml
vendored
38
.github/workflows/issue-comment.yml
vendored
@ -1,38 +0,0 @@
|
|||||||
on:
|
|
||||||
issue_comment:
|
|
||||||
types: [created]
|
|
||||||
|
|
||||||
name: Add issues workflow labels
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
add-label-if-is-author:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: (github.event.issue.user.id == github.event.comment.user.id) && !github.event.issue.pull_request && (github.event.issue.state == 'open')
|
|
||||||
steps:
|
|
||||||
- name: Add require handle label
|
|
||||||
uses: actions-cool/issues-helper@v2
|
|
||||||
with:
|
|
||||||
actions: 'add-labels'
|
|
||||||
labels: '状态:待处理'
|
|
||||||
|
|
||||||
- name: Remove require reply label
|
|
||||||
uses: actions-cool/issues-helper@v2
|
|
||||||
with:
|
|
||||||
actions: 'remove-labels'
|
|
||||||
labels: '状态:待反馈'
|
|
||||||
|
|
||||||
add-label-if-not-author:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: (github.event.issue.user.id != github.event.comment.user.id) && !github.event.issue.pull_request && (github.event.issue.state == 'open')
|
|
||||||
steps:
|
|
||||||
- name: Add require replay label
|
|
||||||
uses: actions-cool/issues-helper@v2
|
|
||||||
with:
|
|
||||||
actions: 'add-labels'
|
|
||||||
labels: '状态:待反馈'
|
|
||||||
|
|
||||||
- name: Remove require handle label
|
|
||||||
uses: actions-cool/issues-helper@v2
|
|
||||||
with:
|
|
||||||
actions: 'remove-labels'
|
|
||||||
labels: '状态:待处理'
|
|
||||||
17
.github/workflows/issue-inactive-alert.yml
vendored
17
.github/workflows/issue-inactive-alert.yml
vendored
@ -1,17 +0,0 @@
|
|||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 9 * * 1-5"
|
|
||||||
|
|
||||||
name: Check untimely handle issues
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
check-untimely-handle-issues:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Check untimely issues and send msg
|
|
||||||
uses: jumpserver/action-issues-alert@master
|
|
||||||
with:
|
|
||||||
hook: ${{ secrets.WECHAT_GROUP_WEB_HOOK }}
|
|
||||||
type: untimely
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
|
|
||||||
Loading…
Reference in New Issue
Block a user