forked from apache/apisix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): automate closing of unresponded issues
- Loading branch information
1 parent
0a4cbc0
commit ca75081
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Check Issues | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 10 * * *' | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
prune_stale: | ||
permissions: | ||
issues: write # for actions/stale to close stale issues | ||
name: Prune Unresponded | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
|
||
steps: | ||
- name: Prune Stale | ||
uses: actions/stale@v8 | ||
with: | ||
days-before-issue-stale: 14 | ||
days-before-issue-close: 3 | ||
stale-issue-message: > | ||
Due to lack of the reporter's response this issue has been labeled with "no response". | ||
It will be close in 3 days if no further activity occurs. If this issue is still | ||
relevant, please simply write any comment. Even if closed, you can still revive the | ||
issue at any time or discuss it on the dev@apisix.apache.org list. | ||
Thank you for your contributions. | ||
close-issue-message: > | ||
This issue has been closed due to lack of activity. If you think that | ||
is incorrect, or the issue requires additional review, you can revive the issue at | ||
any time. | ||
# Issues with these labels will never be considered stale. | ||
exempt-issue-labels: 'good first issue' | ||
stale-issue-label: 'no response' | ||
ascending: true |