-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a1ab169
commit 0abb00a
Showing
1 changed file
with
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: "Close stale issues and pull requests" | ||
on: | ||
schedule: | ||
- cron: "30 1 * * 1-5" | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@main | ||
with: | ||
stale-issue-message: | | ||
This issue has been open for a while with no recent activity. If this issue is still important to you, please add a comment within the next 7 days to keep it open. Otherwise, the issue will be automatically closed to free up time for other tasks. | ||
Issues should be closed if: | ||
- They are duplicates of other issues | ||
- There is not enough demand | ||
- They are no longer relevant | ||
- There are not enough details | ||
stale-pr-message: | | ||
This pull request has been open for a while with no recent activity. If you're still working on this or waiting for a review, please add a comment or commit within the next 7 days to keep it open. Otherwise, the pull request will be automatically closed to free up time for other tasks. | ||
Pull requests should be closed if: | ||
- They have been superseded by another pull request | ||
- They are out of scope or don't align with the project | ||
- They have become obsolete due to other changes | ||
- They have bugs or conflicts that won't be resolved | ||
days-before-stale: 60 | ||
days-before-close: 7 | ||
stale-issue-label: "status:stale" | ||
stale-pr-label: "status:stale" | ||
operations-per-run: 30 | ||
enable-statistics: true |