-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(github actions): adjust stale bot to be more user friendly (#1411)
- Loading branch information
Showing
1 changed file
with
13 additions
and
5 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,14 +1,22 @@ | ||
name: 'Close stale issues and PRs' | ||
# https://github.com/actions/stale | ||
name: "Close stale issues and PRs" | ||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
- cron: "30 1 * * *" | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
exempt-issue-labels: 'neverstale' | ||
exempt-pr-labels: 'WIP,dependencies' | ||
|
||
# https://github.com/actions/stale?tab=readme-ov-file#all-options | ||
exempt-issue-labels: "neverstale" | ||
exempt-pr-labels: "WIP,dependencies" | ||
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you need to keep this issue open set label of this issue to 'neverstale'. Thank you for your contributions." | ||
close-issue-message: "This issue has been automatically closed due to inactivity. Thank you for your contributions." | ||
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you need to keep this pull request open set label of this pull request to 'WIP'. Thank you for your contributions." | ||
close-pr-message: "This pull request has been automatically closed due to inactivity. Thank you for your contributions." | ||
days-before-stale: 60 | ||
days-before-close: 14 | ||
stale-issue-label: "stale" |