ci: trigger Helm test workflow only on merge queue#7234
Open
slolatte wants to merge 1 commit into
Open
Conversation
Renames FEATURE_BRANCH_HELM_TEST.yaml to MERGE_QUEUE_HELM_TEST.yaml and switches the trigger from pull_request to merge_group so the workflow runs only once a PR is added to the merge queue. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Helm test GitHub Actions workflow to run only when a PR enters the merge queue, aligning execution with merge-queue gating rather than running on every pull request update.
Changes:
- Renames the workflow to “Merge queue Helm test” and switches the trigger from
pull_requesttomerge_group. - Removes the external-fork guard and related
if:conditions that were specific topull_requestexecution. - Derives the PR number from
github.event.merge_group.head_refto preserve-pr<N>-image tagging.
Comments suppressed due to low confidence (1)
.github/workflows/MERGE_QUEUE_HELM_TEST.yaml:6
merge_groupis configured without abranchesfilter, so this workflow will run for merge-queue events on any branch that has merge queue enabled (now or in the future). If this job is intended to gate onlymain(as implied by the PR description and other workflows), addbranches: [ main ]undermerge_group:to avoid unexpected runs on release/stable branches.
3 tasks
3 tasks
slolatte
added a commit
that referenced
this pull request
May 13, 2026
Renames FEATURE_BRANCH_HELM_TEST.yaml to MERGE_QUEUE_HELM_TEST.yaml and switches the trigger from pull_request to merge_group so the workflow runs only once a PR is added to the merge queue. Aligns stable/8.7 with #7234 (main). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
johnBgood
approved these changes
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
FEATURE_BRANCH_HELM_TEST.yaml→MERGE_QUEUE_HELM_TEST.yamlpull_requesttomerge_groupso the workflow only runs once a PR is added to the merge queuefork-guardjob (forks can't be added to the merge queue, the guard is unreachable)if: event_nameconditions onbuild-image(no longer needed)github.event.merge_group.head_refso produced images keep their-pr<N>-tagBranch-protection coordination
For this workflow to gate merges, branch protection on
mainmust:Merge queue Helm test / Build and Publish Connectors Docker Image(renamed fromFeature branch Helm test / Build and Publish Connectors Docker Image)Test plan
main<version>-pr<N>-run<id>-a<attempt>🤖 Generated with Claude Code