-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add issue and pr stale gh action (#197)
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: "Close stale issues and PRs" | ||
|
||
on: | ||
schedule: | ||
- cron: "00 03 * * *" | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v7 | ||
with: | ||
close-issue-message: "This issue has automatically been closed due to no activities." | ||
close-pr-message: "This pull-request has automatically been closed due to no activities." | ||
stale-issue-message: "This issue has not been updated for a while and will be closed soon." | ||
stale-pr-message: "This pull-request has not been updated for a while and will be closed soon." | ||
days-before-stale: 60 | ||
days-before-close: 10 | ||
exempt-all-milestones: true | ||
exempt-issue-labels: skip-stale | ||
exempt-pr-labels: skip-stale | ||
stale-issue-label: stale | ||
stale-pr-label: stale |