-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update stalebot to close stale PRs (#389)
- Loading branch information
1 parent
1a05bdf
commit a11d05d
Showing
1 changed file
with
10 additions
and
7 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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: StaleBot | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 12 * * *' | ||
jobs: | ||
|
@@ -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 |