Commit f4d323b
authored
ci: re-run bundle rebuild when Renovate pushes to a labeled PR (#122)
The rebuild-bundle workflow only fired on the `labeled` event, so a
failed rebuild never retried: the label is added once at PR creation,
and later Renovate rebases never re-triggered it. On #119 the first
rebuild crashed during `pnpm install` (vite-plus-core 0.2.7 missing its
rolldown linux binding), and after Renovate rebased to 0.2.8 the stale
`dist/` kept failing the "Verify dist is up to date" check until the
label was manually re-added.
Changes:
- Trigger on `synchronize` as well as `labeled`, gated on the
`needs-bundle-rebuild` label being present (on the `labeled` event the
just-added label is already in the array).
- No loop: the run triggered by our own `dist/` push finds no diff and
exits without pushing, confirmed by today's no-op follow-up run on #119.1 parent 6559b71 commit f4d323b
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | | - | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | | - | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | | - | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
0 commit comments