forked from miracle2k/k8s-snapshots
-
Notifications
You must be signed in to change notification settings - Fork 0
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
4c27cf6
commit e4126a0
Showing
1 changed file
with
26 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,26 @@ | ||
name: 'Close stale PRs' | ||
on: | ||
schedule: | ||
- cron: '0 13 * * *' | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: write # only for delete-branch option | ||
pull-requests: write | ||
issues: write | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
stale-pr-message: 'This PR is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days.' | ||
close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.' | ||
days-before-pr-stale: 21 | ||
days-before-pr-close: 7 | ||
stale-pr-label: 'stale' | ||
close-pr-label: 'closed-by-stale' | ||
delete-branch: true | ||
remove-stale-when-updated: true | ||
operations-per-run: 150 |