Commit 6009898
authored
fix(ci): scope label-triggered workflows to their own label (#71)
Adding an unrelated label to a PR that already has run-e2e or
deploy-preview re-triggered the e2e/deploy-vercel jobs, since the
`labeled`/`synchronize` if-conditions only checked whether the target
label was present anywhere in the PR's current label set. Narrow the
`labeled` branch to the label actually added by the event.1 parent e81f1f9 commit 6009898
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments