Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/issue-check-inactive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Issue Check Inactive

on:
schedule:
- cron: "0 0 */15 * *"

permissions:
contents: read

jobs:
issue-check-inactive:
permissions:
issues: write
runs-on: ubuntu-latest
steps:
- name: check-inactive
uses: actions-cool/issues-helper@v3
with:
actions: 'check-inactive'
token: ${{ secrets.GITHUB_TOKEN }}
inactive-label: 'inactive'
inactive-day: 3
body: |
Since the issue was labeled with `invalid`, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.

由于该 issue 被标记为不合规工程,却 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
26 changes: 26 additions & 0 deletions .github/workflows/issue-close-required.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Issue Close Require

on:
schedule:
- cron: "0 10 * * *"

permissions:
contents: read

jobs:
issue-close-require:
permissions:
issues: write
runs-on: ubuntu-latest
steps:
- name: needs repro project
uses: actions-cool/issues-helper@v3
with:
actions: 'close-issues'
token: ${{ secrets.GITHUB_TOKEN }}
labels: 'need-repro-project'
inactive-day: 2
body: |
Since the issue was labeled with `need-repro-project`, but no response in 2 days. This issue will be closed. If you have any questions, you can comment and reply.

由于该 issue 被标记为需要复现工程,却 2 天未收到回应。现关闭 issue,若有任何问题,可评论回复。