Commit 5e5386f
fix generating on-cel-expression in an 'on push' PipelineRun file
Currently, generated on-cel-expression would contain a path to a <component-name>-pull-request.yaml file in an 'on push' PipelineRun, which is not correct.
We need to determine between on-push and on-pull-request and adjust the filename in the on-cel-expression accordingly.
Signed-off-by: Filip Mudry <[email protected]>1 parent bd5d6e7 commit 5e5386f
1 file changed
+6
-2
lines changedLines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | | - | |
488 | | - | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
489 | 493 | | |
490 | 494 | | |
491 | 495 | | |
| |||
0 commit comments