Commit 3c00e60
fix: fix CEL expression and remove release-right-meow SA
Fix the on-cel-expression to use the correct CEL variables:
- Use 'event' and 'target_branch' (not 'pac.target_branch' which is
only available in {{ cel: }} param substitution, not in
on-cel-expression matching)
- Use 'target_branch' without 'refs/heads/' prefix (PAC strips it)
- Use '|' literal block scalar instead of '>' folding to avoid
trailing newline issues
- Add 'event == "push"' for explicitness
Also remove the release-right-meow ServiceAccount from both
PipelineRuns. It is a leftover from the old EventListener-based
release flow. All release secrets are mounted as workspaces, so
the default SA is sufficient.1 parent 66f8f28 commit 3c00e60
2 files changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
0 commit comments