Mark stale PRs & Issues #17070
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 PRs & Issues | |
on: | |
schedule: | |
- cron: 0 0 * * * # Runs at 00:00 UTC every day. | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
if: github.repository == 'ethereum/eips' | |
runs-on: ubuntu-latest | |
name: Mark Stale Issues | |
steps: | |
- uses: actions/stale@03af7c36d33f4905e618fac0a1bb7e6d05f0d41b | |
with: | |
# General | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
ascending: true # Since we have so many issues, the stale bot finds it hard to keep track. This makes sure that at least the oldest are removed. | |
# Issue config | |
stale-issue-message: There has been no activity on this issue for six months. It will be closed in 7 days if there is no new activity. | |
close-issue-message: This issue was closed due to inactivity. If you are still pursuing it, feel free to reopen it and respond to any feedback. | |
days-before-issue-stale: 183 | |
days-before-issue-close: 190 | |
exempt-issue-labels: discussions-to | |
stale-issue-label: w-stale | |
# PR config | |
stale-pr-message: There has been no activity on this issue for six months. It will be closed in 7 days if there is no new activity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review. | |
close-pr-message: This pull request was closed due to inactivity. If you are still pursuing it, feel free to reopen it and respond to any feedback or request a review in a comment. | |
days-before-pr-stale: 183 | |
days-before-pr-close: 190 | |
exempt-pr-milestones: "Manual Merge Queue" | |
stale-pr-label: w-stale |