Label Stale PRs & Issues #166
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 PRs & Issues" | |
| on: | |
| schedule: | |
| - cron: "0 6 * * *" | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| name: "Label PRs & Issues older than 60 days as Stale" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| stale-issue-message: 'This issue is stale because it has been open 60 days with no activity.' | |
| stale-pr-message: 'This PR is stale because it has been open 60 days with no activity.' | |
| days-before-stale: 60 | |
| days-before-close: -1 | |
| operations-per-run: 450 |