Mark stale issues and pull requests #1688
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: "0 0 * * *" | |
jobs: | |
stale: | |
if: github.repository == 'PecanProject/pecan' | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: 'This issue is stale because it has been open 365 days with no activity.' | |
stale-pr-message: 'This PR is stale because it has been open 365 days with no activity.' | |
stale-issue-label: 'Status: Stale' | |
stale-pr-label: 'Status: Stale' | |
days-before-stale: 365 | |
days-before-close: 100000 | |
operations-per-run: 25 |