Update stale.yaml

assigning explicit permissions
This commit is contained in:
Jon Janego
2024-01-26 09:15:48 -06:00
committed by GitHub
parent a824acd5d7
commit 56991330a3
+3 -1
View File
@@ -1,5 +1,8 @@
name: Close stale PRs
permissions:
pull-requests: write
on:
schedule:
- cron: "00 0 * * *" # runs at 00:00 daily
@@ -11,7 +14,6 @@ jobs:
- uses: actions/stale@v9.0.0
name: Clean up stale PRs
with:
repo-token: ${{ secrets.STALE_BOT }}
stale-pr-message: "👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the `Keep` label to hold stale off permanently, or do nothing. If you do nothing, this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details."
stale-pr-label: "Stale"
exempt-pr-labels: "Keep" # a "Keep" label will keep the PR from being closed as stale