Commit f8a1fcd
committed
[TASK] Cover direct pushes and the merge queue in the asset check
The check only triggered on pull_request. Two paths past it:
Security advisory fixes are merged out of a temporary private fork and
land on "main" as direct commits, never as a pull request in this repo,
so the gate could not see them. That is how 0.40.0 shipped assets built
before the fixes it was tagged for.
"main" gained a merge queue in #1326 after this branch was opened. A
required status check without a merge_group trigger never reports on a
queued merge, which times the merge out.
Add both triggers. The base sha now comes from the event payload, and an
event without one, a push, is verified in full rather than skipped.
Signed-off-by: Sebastian Mendel <github@sebastianmendel.de>1 parent ac5ad0d commit f8a1fcd
1 file changed
Lines changed: 31 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
11 | 20 | | |
12 | 21 | | |
13 | 22 | | |
14 | 23 | | |
15 | 24 | | |
16 | 25 | | |
17 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
18 | 31 | | |
19 | 32 | | |
20 | 33 | | |
| |||
44 | 57 | | |
45 | 58 | | |
46 | 59 | | |
47 | | - | |
48 | | - | |
49 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
50 | 71 | | |
51 | 72 | | |
52 | | - | |
53 | | - | |
54 | 73 | | |
55 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
56 | 81 | | |
57 | 82 | | |
58 | 83 | | |
| |||
0 commit comments