Skip to content

Commit bef3bed

Browse files
committed
ci: the merge queue runs CI, so pull requests are tested on the latest main before they merge
1 parent 1b1084c commit bef3bed

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@
1616
# docker -> the deployment images: auth and piquel.fr's web server
1717
#
1818
# Pull requests run only the jobs their changes can affect (see `changes`).
19-
# Pushes to main and manual runs run everything. `ci` is the single status to
20-
# require: it fails if any job failed and passes when the rest succeeded or
21-
# were skipped. audit.yml audits new advisories weekly.
19+
# The merge queue, pushes to main and manual runs run everything: the queue
20+
# tests each pull request on top of the latest main before it merges, so two
21+
# pull requests that pass alone cannot break main together. `ci` is the single
22+
# status to require, and the queue waits for it: it fails if any job failed
23+
# and passes when the rest succeeded or were skipped. audit.yml audits new
24+
# advisories weekly.
2225
#
2326
# Rust caches are saved from main only. Pull requests restore main's caches,
2427
# so a branch never evicts them with copies no other branch can read. pnpm's
@@ -28,6 +31,7 @@ name: CI
2831

2932
on:
3033
pull_request:
34+
merge_group:
3135
push:
3236
branches: [main]
3337
workflow_dispatch:

0 commit comments

Comments
 (0)