Yicong-Huang opened a new pull request, #4885:
URL: https://github.com/apache/texera/pull/4885

   ## Summary
   
   - Rename `auto-assign.yml` to `pr-assignment-triage.yml` to reflect its 
expanded scope.
   - Add `sync-issue-assignees`: on PR 
`opened`/`edited`/`reopened`/`ready_for_review` (gated on `state == 'open'` and 
a non-bot opener), mirror the PR opener as an assignee on each same-repo issue 
listed in `closingIssuesReferences`. On body edits, also remove the opener from 
issues whose closing keyword was dropped. Other manual assignees are never 
touched.
   - Add `take-comment` to `issue-triage.yml`: a `/take` comment on an issue 
(not a PR) assigns the commenter. Job-level `if` keeps non-`/take` comments 
from allocating a runner; an exact-match regex inside the script rejects `/take 
this please`-style suffixes.
   - The existing `credit-issue-on-pr-merge` is unchanged; the existing label 
add/remove on assigned/unassigned events still handles the `triage` label as a 
side effect.
   
   Closes #4884
   
   ## Test plan
   
   - [ ] Open a PR with `Closes #N` in the body — confirm the opener is added 
as an assignee on issue #N and the `triage` label is removed.
   - [ ] Edit the PR body to remove `Closes #N` — confirm the opener is removed 
from issue #N and (if no assignees remain) `triage` is re-added.
   - [ ] Open a PR as a bot account — confirm `sync-issue-assignees` skips it.
   - [ ] Comment `/take` on an issue — confirm the commenter is added as an 
assignee and `triage` is removed.
   - [ ] Comment `/take this issue please` on an issue — confirm no assignment 
is made (exact-match guard).
   - [ ] Comment `/take` on a PR — confirm the job is skipped 
(issue.pull_request != null).
   - [ ] Merge a PR with `Closes #N` — confirm `credit-issue-on-pr-merge` still 
overwrites assignees with credited authors as before.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to