chore(github): Auto close pending closure issues
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
# Number of days of inactivity before an issue becomes stale
|
||||
daysUntilStale: 180
|
||||
# Number of days of inactivity before a stale issue is closed
|
||||
daysUntilClose: 90
|
||||
# Issues with these labels will never be considered stale
|
||||
exemptLabels:
|
||||
- pinned
|
||||
- Bug
|
||||
# Label to use when marking an issue as stale
|
||||
staleLabel: 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 had
|
||||
recent activity. 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
|
||||
@@ -0,0 +1,25 @@
|
||||
name: 'Auto-close marked issues'
|
||||
on:
|
||||
schedule:
|
||||
- cron: '30 1 * * *'
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v8
|
||||
with:
|
||||
# Issue closure message
|
||||
close-issue-message: 'This issue has been closed due to no activity in over four weeks after having been marked as closure pending.'
|
||||
# Issue close reason
|
||||
close-issue-reason: not_planned
|
||||
# Do not mark issues or PRs as stale automaticaly
|
||||
days-before-stale: -1
|
||||
# Close issue/PR if no activity for four weeks after closure pending warning
|
||||
days-before-close: 28
|
||||
# Do not auto close PRs
|
||||
days-before-pr-close: -1
|
||||
# Do not auto-close an issue if it is assigned to a milestone
|
||||
exempt-all-issue-milestones: true
|
||||
# Stale issue label
|
||||
stale-issue-label: 'closing 🚪'
|
||||
Reference in New Issue
Block a user