Move stale to workflow

This commit is contained in:
Octavia Togami 2024-06-22 14:38:01 -07:00
parent 54d5665fbf
commit d78471689c
No known key found for this signature in database
GPG Key ID: CC364524D1983C99
2 changed files with 21 additions and 16 deletions

16
.github/stale.yml vendored
View File

@ -1,16 +0,0 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 30
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Only close pending bugs
onlyLabels:
- status:pending
- type:bug
# Label to use when marking an issue as stale
staleLabel: status:stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not been fully confirmed.
It will be closed if no further activity occurs. Thank you for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false

21
.github/workflows/stale.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: 'Handle stale issues'
on:
workflow_dispatch:
schedule:
- cron: '42 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
only-labels: 'status:pending,type:bug'
stale-issue-label: 'status:stale'
stale-issue-message: >
This issue has been automatically marked as stale because it has not been fully confirmed.
It will be closed if no further activity occurs. Thank you for your contributions.
days-before-stale: 30
days-before-close: 7
days-before-pr-stale: -1
days-before-pr-close: -1