Mark stale issues and pull requests #1507
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: Mark stale issues and pull requests | |
on: | |
schedule: | |
- cron: "30 1 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v8 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
exempt-issue-labels: "help-wanted" | |
exempt-pr-labels: "help-wanted" | |
stale-issue-message: "The issue has received no activity for 60 days and will be closed in a week." | |
stale-pr-message: "The PR has received no activity for 60 days and will be closed in a week." | |
stale-issue-label: "no-issue-activity" | |
stale-pr-label: "no-pr-activity" | |
- uses: actions/stale@v8 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
days-before-stale: 21 | |
days-before-close: -1 | |
only-labels: "feature" | |
stale-issue-message: >- | |
This feature request has been labelled as *help wanted* since | |
there has been no activity in the last 3 weeks. It will not be | |
closed automatically. | |
stale-issue-label: "help wanted" | |
- uses: actions/stale@v8 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
days-before-stale: 21 | |
days-before-close: -1 | |
only-labels: "bug" | |
stale-issue-message: >- | |
This bug report has been labelled as *help wanted* since | |
there has been no activity in the last 3 weeks. It will not be | |
closed automatically. | |
stale-issue-label: "help wanted" |