Skip to content

Commit 03936ec

Browse files
authored
ci: run main.yml checks on merge_group (prerequisite for a merge queue) (#423)
ci: run main.yml checks on merge_group (prerequisite for enabling a merge queue) Adds a `merge_group` trigger so lint / unit-test / e2e-test / coverage run on the merge queue's transient ref. This MUST land before a merge queue is enabled on `main`: the queue gates each merge group on these required checks, and without the trigger they'd never run, stalling every queued PR. Mirrors the Python connector (code-coverage.yml runs on merge_group for the same reason). No job-level event guards, so all four required-check jobs run on merge_group exactly as they do on pull_request. Co-authored-by: Isaac Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
1 parent 4b9e16e commit 03936ec

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
pull_request:
88
branches:
99
- main
10+
# Run the same required checks (lint / unit-test / e2e-test / coverage) on the
11+
# merge queue's transient ref. Required so a merge queue can be enabled on
12+
# `main`: the queue waits on these checks for each merge group, and without a
13+
# `merge_group` trigger they would never run and every queued PR would stall.
14+
merge_group:
1015

1116
permissions:
1217
contents: read

0 commit comments

Comments
 (0)