EIPs/.github/workflows/stale.yml
Alex Beregszaszi 25375b8971
Fix "stale" github action (#2956)
* Fix github action trigger for stale

* Add .github to jekyll exclude list
2020-09-08 16:57:20 +01:00

20 lines
949 B
YAML

name: "Mark stale PRs"
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:
stale:
runs-on: ubuntu-latest
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'