Commit 9448381
authored
chore: Configure merge_group trigger in main CI workflow (#748)
Configures the `merge_group` trigger and adds jobs to avoid rerunning
the main workflow in the merge queue per
MetaMask/snaps#3162 and
MetaMask/snaps#3786.
This won't do anything until we've enabled the merge queue for the
default branch in repository settings.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Introduces merge queue awareness and conditional execution to reduce
redundant CI runs.
>
> - Adds `merge_group` trigger and new `check-skip-merge-queue` job
using `MetaMask/github-tools/.../check-skip-merge-queue@v1` to detect
up-to-date PRs
> - Gates `check-workflows` (and downstream jobs) with `needs`/`if` to
skip when in `merge_group` and `skip-merge-queue` is `true`
> - Updates `all-jobs-pass` to depend on `check-skip-merge-queue` and
succeed if either `all-jobs-complete` passed or `skip-merge-queue` is
`true`
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
0bb82d9. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 8c4f04b commit 9448381
1 file changed
+24
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
13 | 29 | | |
14 | 30 | | |
15 | 31 | | |
| 32 | + | |
| 33 | + | |
16 | 34 | | |
17 | 35 | | |
18 | 36 | | |
| |||
81 | 99 | | |
82 | 100 | | |
83 | 101 | | |
84 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
85 | 105 | | |
86 | 106 | | |
| 107 | + | |
| 108 | + | |
87 | 109 | | |
88 | | - | |
89 | | - | |
| 110 | + | |
90 | 111 | | |
91 | 112 | | |
0 commit comments