Detect stale issues and pull request #320
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow | |
name: "Detect stale issues" | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: "This issue is marked as stale because it has been open 90 days with no activity." | |
stale-issue-label: "stale" | |
stale-pr-message: "This PR is marked as stale because it has been open 90 days with no activity." | |
stale-pr-label: "stale" | |
days-before-stale: 90 | |
days-before-close: -1 | |
exempt-pr-labels: "needs review" |