Repository navigation
Conversation
|
@Reranko05 this has some overlap with #55352. If you'd like to include this into #55352 I'd be ok with it :). |
|
Ah! Good luck with your examps @Reranko05! See you on the other side. |
|
Thanks @rok :) |
| if (done) break; | ||
| } | ||
|
|
||
| // 2. Close PRs still in 'Status: Needs triage' after CLOSE_AFTER_DAYS days |
There was a problem hiding this comment.
minor nit, if we close before adding the label we don't have to iterate over the new ones which should just have the label set :)
| body: [ | ||
| `Thank you for your contribution! This pull request has been automatically closed because it remained in \`${LABEL}\` for more than ${CLOSE_AFTER_DAYS} days without being picked up for review.`, | ||
| '', | ||
| 'This is due to limited maintainer triage and review capacity and is not necessarily a rejection of your change. We encourage you to discuss the motivation and approach with Arrow maintainers on the linked GitHub issue (or open a new issue if one does not exist yet). Once a maintainer picks it up, this PR can be reopened—feel free to leave a comment here if you believe it was closed in error.', |
There was a problem hiding this comment.
I am wondering whether this will have the unintended effect of starting to be pinged by users (or bots) so we "review" their "obviously great and required" change
There was a problem hiding this comment.
The language now suggests going to the issue or ML.
|
@kou what is your opinion on this? |
kou
left a comment
There was a problem hiding this comment.
(I'll reply to https://lists.apache.org/thread.html/94ypp500kqkqmn5dv85mptdxkfy20xx8 later but 5 days may be short... I think that at least 7 days are needed...)
| contents: read | ||
|
|
||
| jobs: | ||
| triage: |
There was a problem hiding this comment.
Could you add if: github.repository == 'apache/arrow’ to avoid running this on fork repositories?
| return ts; | ||
| }; | ||
|
|
||
| // 1. Close PRs still in 'Status: Needs triage' after CLOSE_AFTER_DAYS days |
There was a problem hiding this comment.
Can we reuse actions/stale instead of implementing this by ourselves?
There was a problem hiding this comment.
I suppose we can. See current proposal.
Rationale for this change
Reduce reviewer burden from unsolicited and low-effort PRs by letting untriaged PRs from first-time contributors expire automatically unless a maintainer opts in.
What changes are included in this PR?
Add
.github/workflows/triage.yml(restricted toapache/arrow) to:Status: needs triagefor more than 7 days usingactions/stale@v11, removingStatus: needs triage, addingStatus: closed-untriaged, and posting a comment directing contributors to discuss on the linked issue or mailing list.Status: needs triage.Are these changes tested?
Validated workflow YAML and embedded JavaScript syntax.
Are there any user-facing changes?
No public API changes. First-time PRs are labeled
Status: needs triageand auto-closed after 7 days if not triaged.Was AI used for this PR?
In accordance to the AI generation guidelines, please disclose below whether and how AI was used in this PR.
PR code and description written by:
Reviewed before submission by: