Skip to content

Commit

Permalink
KAFKA-15073 Close stale PRs [2/n] (apache#17166)
Browse files Browse the repository at this point in the history
As a follow-up of apache#13827, this patch updates the stale PR workflow to automatically close PRs that have not had activity in 120 days

Reviewers: Chia-Ping Tsai <[email protected]>, Josep Prat <[email protected]>
  • Loading branch information
mumrah authored and tedyu committed Jan 6, 2025
1 parent 78150e4 commit b937fae
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,22 @@ jobs:
with:
debug-only: ${{ inputs.dryRun || false }}
operations-per-run: ${{ inputs.operationsPerRun || 100 }}
ascending: true
days-before-stale: 90
days-before-close: -1
days-before-close: 30 # Since adding 'stale' will update the PR, days-before-close is relative to that.
stale-pr-label: 'stale'
stale-pr-message: >
stale-pr-message: |
This PR is being marked as stale since it has not had any activity in 90 days. If you
would like to keep this PR alive, please ask a committer for review. If the PR has
merge conflicts, please update it with the latest from trunk (or appropriate release branch)
would like to keep this PR alive, please leave a comment asking for a review. If the PR has
merge conflicts, update it with the latest from the base branch.
<p>
If you are having difficulty finding a reviewer, please reach out on the
[mailing list](https://kafka.apache.org/contact).
<p>
If this PR is no longer valid or desired, please feel free to close it. If no activity
occurs in the next 30 days, it will be automatically closed.
close-pr-label: 'closed-stale'
close-pr-message: |
This PR has been closed since it has not had any activity in 120 days. If you feel like this
was a mistake, or you would like to continue working on it, please feel free to re-open the
PR and ask for a review.

0 comments on commit b937fae

Please sign in to comment.