-
Notifications
You must be signed in to change notification settings - Fork 377
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
Showing
1 changed file
with
0 additions
and
27 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,28 +1 @@ | ||
name: Close Stale Issues & Pull Requests | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * 5' # Run at midnight on Fridays | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
close_stale_prs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Close stale pull requests | ||
uses: actions/[email protected] | ||
|
||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
days-before-issue-stale: 180 | ||
days-before-pr-stale: 45 | ||
days-before-close: 0 | ||
close-issue-message: 'This issue has been automatically closed because it has been | ||
inactive for more than 180 days. Please reopen and prioritize this for development if it is | ||
essential.' | ||
close-pr-message: 'This pull request has been automatically closed because it has been | ||
inactive for more than 45 days. Please reopen and see this PR through its review if it is | ||
essential.' |