Skip to content

ci: trigger CI on merge_group so the merge queue can complete - #83

Merged
jstirnaman merged 1 commit into
mainfrom
fix/merge-queue-ci-trigger
Jul 28, 2026
Merged

ci: trigger CI on merge_group so the merge queue can complete#83
jstirnaman merged 1 commit into
mainfrom
fix/merge-queue-ci-trigger

Conversation

@jstirnaman

Copy link
Copy Markdown
Collaborator

Summary

The default-branch ruleset requires the GitHub Merge Queue and requires this
workflow's Integration tests (InfluxDB 3 Core), Integration tests (InfluxDB Cloud Serverless), and Protocol tests jobs as status checks. The queue runs
checks against temporary gh-readonly-queue/main/* branches, which only
trigger workflows that opt in via the merge_group event. ci.yml only had
push and pull_request triggers, so no run ever started for queued
entries — they sat in AWAITING_CHECKS indefinitely, waiting on required
checks that could never execute. Confirmed via the GitHub API: zero Actions
runs exist on any gh-readonly-queue/* branch, and mergeQueue.entries sat
non-empty with every entry stuck at AWAITING_CHECKS.

  • Add merge_group: to the workflow's on: triggers.
  • Extend test-integration-cloud-serverless's forked-PR guard
    (if: github.event_name == 'push' || ...) to also allow
    github.event_name == 'merge_group'. Without this, the job would run on
    queue events but immediately evaluate its if to false and report
    skipped — leaving one of the three required checks permanently
    unsatisfied on queue runs, same symptom as before.

Related: the ruleset previously also had a required_deployments rule with
an empty environment list, which independently blocked the queue with
"Pull request cannot be added to a merge queue that requires deployments
before merging." That's already been removed from the ruleset directly
(no deployment workflow exists in this repo — the cloud-serverless
environment only scopes a test secret, which GitHub's UI mislabels as a
"deployment").

Test plan

The repository's default-branch ruleset requires the GitHub Merge
Queue, and requires this workflow's Integration and Protocol test
jobs as status checks. The queue runs checks against temporary
gh-readonly-queue/main/* branches, which only trigger workflows that
opt in via the merge_group event. This workflow only had push and
pull_request triggers, so no run ever started for queued entries —
they sat in AWAITING_CHECKS indefinitely, waiting on required checks
that could never execute.

Also extend test-integration-cloud-serverless's forked-PR guard to
allow merge_group events. Without this, adding the trigger above
would make the job run but immediately evaluate its `if` to false and
report skipped — still leaving one of the three required checks
permanently unsatisfied on queue runs.
@jstirnaman
jstirnaman temporarily deployed to cloud-serverless July 28, 2026 22:30 — with GitHub Actions Inactive
@jstirnaman
jstirnaman merged commit 749e7c8 into main Jul 28, 2026
5 checks passed
@jstirnaman
jstirnaman deleted the fix/merge-queue-ci-trigger branch July 28, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant