fix: add merge_group trigger to unblock merge queue#4338
Merged
Conversation
GitHub's native merge queue fires a merge_group event when processing batched PRs. Without this trigger in workflows, no CI ran on merge queue commits — leaving the queue stuck in AWAITING_CHECKS. Added merge_group trigger to: - ci-pull_request.yml (Lint, Unit Test) - packaging.yml (Package Cloudbeat docker/tar.gz) - unit-test.yml (Manifest Tests) - test-opa-policies.yml (Test Rego Policies) Also updated .mergify.yml queue_rules to replace stale check names from the previous CI system with the correct current check names. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
|
This pull request does not have a backport label. Could you fix it @olegsu? 🙏
|
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
merge_group:trigger to 4 workflow files so CI runs during GitHub merge queue processing.mergify.ymlqueue_rules that referenced a previous CI system's check namesRoot Cause
GitHub's native merge queue fires a
merge_groupevent for each batch of queued PRs. Without this trigger in the workflow files, no checks ran on merge queue commits. The required status checks (Lint,Unit Test,Package Cloudbeat,Manifest Tests,Test Rego Policies) were never reported, leaving the queue stuck inAWAITING_CHECKSindefinitely.Fixes
Workflows (added
merge_group:trigger)ci-pull_request.ymlLint,Unit Testpackaging.ymlPackage Cloudbeat (docker),Package Cloudbeat (tar.gz)unit-test.ymlManifest Teststest-opa-policies.ymlTest Rego Policies.mergify.ymlqueue_rulesReplaced 6 non-existent check names (from old
Cloudbeat-CIsystem) with the correct current check names.Test plan
🤖 Generated with Claude Code