Commit 731820c
committed
fix: include branch filter in CEL expression for release trigger
The on-cel-expression annotation takes precedence over on-event and
on-target-branch annotations. The previous CEL expression only checked
body.created == true, which matched ANY newly created branch push
(e.g. fix/CVE-* branches), not just release-v* branches.
Add the branch filter directly in the CEL expression to ensure the
release pipeline only triggers for release-v* branch creation.1 parent dafd94c commit 731820c
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | | - | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
0 commit comments