Repository navigation
Commit 0455854
committed
refactor(ci): drop redundant if condition, use trigger filters
The release job had a broad `on.push` (no branch filter) plus an
`if:` condition that checked `github.event_name`. This was
redundant: the trigger already filters by branch (or by event type
for repository_dispatch / workflow_dispatch), and the if condition
just re-checked the event type.
Simplify: keep the trigger filters, drop the if. Also ensure
`repository_dispatch` is in the trigger list for repos that
referenced it in their if condition.1 parent 061fa17 commit 0455854
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments