Skip to content

Commit eb2aa5b

Browse files
committed
🤖 ci: run merge queue checks through CI
Enable CI to run on merge_group events and force lint/test/action lint jobs to execute for merge queue builds. --- _Generated with `mux` • Model: `openai:gpt-5.3-codex` • Thinking: `xhigh` • Cost: `$0.19`_ <!-- mux-attribution: model=openai:gpt-5.3-codex thinking=xhigh costs=0.19 -->
1 parent d7941ba commit eb2aa5b

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: CI
22

33
on:
44
pull_request:
5+
merge_group:
6+
types: [checks_requested]
57
push:
68
branches:
79
- main
@@ -51,7 +53,7 @@ jobs:
5153
5254
lint:
5355
needs: changes
54-
if: needs.changes.outputs.go == 'true'
56+
if: github.event_name == 'merge_group' || needs.changes.outputs.go == 'true'
5557
runs-on: ubuntu-latest
5658
steps:
5759
- name: Checkout
@@ -88,7 +90,7 @@ jobs:
8890

8991
test:
9092
needs: changes
91-
if: needs.changes.outputs.go == 'true'
93+
if: github.event_name == 'merge_group' || needs.changes.outputs.go == 'true'
9294
runs-on: ubuntu-latest
9395
steps:
9496
- name: Checkout
@@ -121,7 +123,7 @@ jobs:
121123
lint-actions:
122124
name: Lint GitHub Actions
123125
needs: changes
124-
if: needs.changes.outputs.workflows == 'true'
126+
if: github.event_name == 'merge_group' || needs.changes.outputs.workflows == 'true'
125127
runs-on: ubuntu-latest
126128
permissions:
127129
contents: read

0 commit comments

Comments
 (0)