EIPs/.github/workflows/stale.yml

35 lines
1.8 KiB
YAML
Raw Normal View History

2021-10-23 21:49:47 -05:00
name: "Mark stale PRs & Issues"
on:
schedule:
# Run this every hour, so we are not spammed with changes at once. Later we could consider changing this to once a day.
- cron: "0 * * * *"
jobs:
2021-10-23 21:49:47 -05:00
stale-pr:
runs-on: ubuntu-latest
2021-10-23 21:49:47 -05:00
name: "Mark stale PRs"
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: 'There has been no activity on this pull request for two months. It will be closed in a week if no further activity occurs. If you would like to move this EIP 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-stale: 60
days-before-close: 7
stale-pr-label: 'stale'
2021-10-23 21:49:47 -05:00
stale-issue:
runs-on: ubuntu-latest
name: "Mark stale issues"
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 180
days-before-close: 14
stale-pr-label: 'stale'
2021-10-23 21:20:01 -05:00
stale-issue-label: 'stale'
stale-issue-message: 'There has been no activity on this issue for two months. It will be closed in a week if no further activity occurs. If you would like to move this EIP 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-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 or request a review in a comment.'
2021-10-23 21:49:47 -05:00