Mark stale issues and pull requests #102
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: Mark stale issues and pull requests | |
| on: | |
| workflow_call: | |
| # Direct trigger for this repository - run daily at 00:00 UTC | |
| schedule: | |
| - cron: '0 0 * * *' | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| name: Process Stale Issues and PRs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Run stale bot | |
| uses: actions/stale@v10 | |
| with: | |
| # ORG_ACCESS_TOKEN must have the following scopes: | |
| # - repo (or public_repo if using public repos only) | |
| # - org:read (to enumerate organization repos) | |
| github-token: ${{ secrets.ORG_ACCESS_TOKEN }} | |
| stale-issue-message: > | |
| This issue did not get any activity in the past 10 days and will be | |
| closed in 360 days if no update occurs. Please check if the develop | |
| branch has fixed it and report again or close the issue. | |
| stale-pr-message: > | |
| This pull request did not get any activity in the past 10 days and | |
| will be closed in 360 days if no update occurs. Please verify it has | |
| no conflicts with the develop branch and rebase if needed. | |
| close-issue-message: > | |
| This issue did not get any activity in the past 360 days and thus | |
| has been closed. Please check if the newest release or develop | |
| branch has it fixed. | |
| close-pr-message: > | |
| This pull request did not get any activity in the past 360 days and | |
| thus has been closed. | |
| stale-issue-label: no-issue-activity | |
| stale-pr-label: no-pr-activity | |
| days-before-stale: 10 | |
| days-before-close: 360 | |
| remove-stale-when-updated: true | |
| exempt-all-milestones: true | |
| exempt-pr-labels: wip | |
| exempt-issue-labels: wip | |
| operations-per-run: 200 |