Skip to content

ci: consolidate PR-open automation into Pull Request Labeler#4606

Closed
Yicong-Huang wants to merge 1 commit into
apache:mainfrom
Yicong-Huang:chore/merge-auto-assign-into-labeler
Closed

ci: consolidate PR-open automation into Pull Request Labeler#4606
Yicong-Huang wants to merge 1 commit into
apache:mainfrom
Yicong-Huang:chore/merge-auto-assign-into-labeler

Conversation

@Yicong-Huang
Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

Consolidate the two PR-open automation jobs into a single check:

  • Move Auto-assign / assign-pr-author into the Pull Request Labeler / labeler job as an additional step, gated on action == 'opened' with the same bot/assignee guards.
  • Reduce auto-assign.yml to just credit-issue-on-pr-merge. It now triggers on pull_request_target: [closed] and is gated on pull_request.merged == true, instead of running on both opened and closed.

Net effect: PR-open events produce a single check (Pull Request Labeler / labeler), and the merge-time issue credit logic remains isolated under Auto-assign / credit-issue-on-pr-merge.

Any related issues, documentation, discussions?

Closes #4605

How was this PR tested?

Workflow-only change; will be exercised by CI on this PR.

Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Opus 4.7

Move assign-pr-author into the labeler job as an additional step
so PR-open automation produces a single check. Reduce Auto-assign
to credit-issue-on-pr-merge only, triggered on PR close and gated
on merged == true.
@github-actions github-actions Bot added the ci changes related to CI label May 1, 2026
@Yicong-Huang
Copy link
Copy Markdown
Contributor Author

Closing — discussed offline, will revisit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci changes related to CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consolidate PR-open automation into a single Pull Request Labeler job

1 participant