Label inactive issues #68
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
name: Label inactive issues | |
on: | |
schedule: | |
- cron: "0 1 * * 0" | |
workflow_dispatch: | |
env: | |
DAYS_BEFORE_ISSUE_STALE: 90 | |
jobs: | |
close-issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
exempt-issue-labels: "bug,tracking-external-issue,Known Issue,stale" | |
days-before-issue-stale: ${{ env.DAYS_BEFORE_ISSUE_STALE }} | |
stale-issue-label: "stale" | |
stale-issue-message: "This issue is stale because it has been open for ${{ env.DAYS_BEFORE_ISSUE_STALE }} days with no activity." | |
days-before-pr-stale: -1 | |
days-before-pr-close: -1 | |
operations-per-run: 100 | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |