permissions #11
Workflow file for this run
This file contains hidden or 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
name: "Label stale issues and PRs" | |
on: | |
push: | |
branches: | |
- nate/stale-issue-helper | |
schedule: | |
- cron: "30 1 * * *" | |
jobs: | |
stale: | |
permissions: | |
issues: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
close-issue-message: "This issue was closed because it hasn't been updated for 100 days. If it's still important, please reopen + comment and we'll gladly take another look!" | |
stale-issue-message: "This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue." | |
days-before-stale: 90 | |
days-before-close: 100 | |
days-before-pr-stale: -1 | |
days-before-pr-close: -1 | |
stale-issue-label: "stale" | |
stale-pr-label: "stale" | |
exempt-issue-labels: "needs-triage,no-stale,high,highest" | |
exempt-pr-labels: "no-stale" |