mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-19 02:06:49 +00:00
35 lines
1.8 KiB
YAML
35 lines
1.8 KiB
YAML
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:
|
|
stale-pr:
|
|
runs-on: ubuntu-latest
|
|
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'
|
|
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'
|
|
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.'
|
|
|