Label inactive issues #58
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
| # https://github.com/actions/stale | |
| name: Label inactive issues | |
| on: | |
| schedule: | |
| - cron: "42 4 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| label-inactive-issues: | |
| runs-on: ubuntu-latest | |
| if: github.repository_owner == 'pantsbuild' | |
| permissions: | |
| actions: write | |
| issues: write | |
| steps: | |
| - uses: actions/stale@v10 | |
| with: | |
| days-before-issue-stale: 366 | |
| exempt-issue-labels: 'bug' | |
| stale-issue-label: 'stale' | |
| stale-issue-message: > | |
| This issue has been open for over one year without activity and is not labeled as a bug. | |
| It has been labeled as stale to invite any further updates. | |
| If you can confirm whether the issue is still applicable to the latest version of Pants, | |
| appears in other contexts, or its priority has changed, please let us know. | |
| Please feel free to close this issue if it is no longer relevant. | |
| # Don't close Issues | |
| days-before-issue-close: -1 | |
| # Don't touch PRs | |
| days-before-pr-stale: -1 | |
| days-before-pr-close: -1 | |
| operations-per-run: 250 | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} |