-
Notifications
You must be signed in to change notification settings - Fork 686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PoC - Staleness action for Element team PRs #5742
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: 'Close stale issues and PRs' | ||
on: | ||
pull_request: { } | ||
push: | ||
branches: [ feature/adm/stale-prs ] | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: sonia-corporation/stale@1.54.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. uses a staleness action fork to allow for only checking PRs instead of PRs and issues which causes the rate limit to be hit due to our large amount of issues |
||
with: | ||
dry-run: true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. will be removed if we're happy with the output |
||
issue-processing: false | ||
pull-request-days-before-stale: 30 | ||
pull-request-days-before-close: 14 | ||
pull-request-stale-label: Z-Stale | ||
pull-request-stale-comment: 'PR marked as stale due to 30 days of inactivity and will be closed in 14 days if there is no further activity. Comment or commit to reset the inactivity counter' | ||
pull-request-ignore-any-labels: | | ||
Z-Community-PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will be swapped to an hourly cron if approved