0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-21 10:08:58 +01:00

chore: automatically close issues marked as “not bug” over time (#3611)

* ci: automatically close issues marked as “not bug” over time

* Update no-response.yml

* add comment
This commit is contained in:
EdamAmex 2024-11-03 07:40:11 +09:00 committed by GitHub
parent 3aad86c78c
commit 8d775dcdf5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

26
.github/workflows/no-response.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: Close stale issues with "not bug" label
on:
schedule:
- cron: '0 0 * * *'
permissions:
contents: write
issues: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Close stale issues with "not bug" label
uses: actions/stale@v8
with:
days-before-stale: 7
days-before-close: 2
stale-issue-message: 'This issue has been marked as stale due to inactivity.'
close-issue-message: 'Closing this issue due to inactivity.'
exempt-issue-labels: ''
stale-issue-label: 'stale'
only-labels: 'not bug'
operations-per-run: 30
remove-stale-when-updated: true