generated from qctrl/template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Update .github/workflows/check-stale.yaml
- Loading branch information
1 parent
5873c60
commit 0b64543
Showing
1 changed file
with
25 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,25 @@ | ||
##### This file is managed automatically. To update visit: https://github.com/qctrl/repositories-manager. ##### | ||
name: "Close stale issues and PRs" | ||
on: | ||
schedule: | ||
- cron: "0 23 * * *" # Every day at 11:00 PM UTC. | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
contents: write | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment, or this issue will be closed in 5 days." | ||
stale-pr-message: "This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment, or this PR will be closed and the branch deleted in 5 days." | ||
close-issue-message: "This issue was closed because it has been stalled for 5 days with no activity." | ||
close-pr-message: "This PR was closed because it has been stalled for 5 days with no activity." | ||
days-before-stale: 30 | ||
days-before-close: 5 | ||
stale-issue-label: "stale" | ||
exempt-pr-labels: "pinned,security" | ||
delete-branch: true |