Skip to content

Commit

Permalink
Update stalebot to close stale PRs (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis authored Jun 30, 2023
1 parent 1a05bdf commit a11d05d
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: StaleBot
on:
workflow_dispatch:
schedule:
- cron: '0 12 * * *'
jobs:
Expand All @@ -15,12 +16,14 @@ jobs:
- uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Labeled for closure due to inactivity in 10 days.'
exempt-issue-labels: 'bug,chore,roadmap,help-wanted,burning,feature,documentation,operational-excellence,good-first-issue'
stale-issue-message: 'This issue has been inactive for 14 days. StaleBot will close this stale issue after 14 more days of inactivity.'
exempt-issue-labels: 'bug,chore,feature,documentation,testing,operational-excellence,automation,roadmap'
stale-issue-label: 'lifecycle/stale'
close-issue-label: 'lifecycle/closed'
remove-stale-when-updated: true
days-before-stale: 20
days-before-close: 10
operations-per-run: 300
only-pr-labels: 'close-pr-if-stale' # Because we don't want the bot to close PRs for now.
stale-pr-message: 'This PR has been inactive for 14 days. StaleBot will close this stale PR after 14 more days of inactivity.'
exempt-pr-labels: 'blocked,needs-design'
stale-pr-label: 'lifecycle/stale'
close-pr-label: 'lifecycle/closed'
days-before-stale: 14
days-before-close: 14
operations-per-run: 300

0 comments on commit a11d05d

Please sign in to comment.