You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warn user when on cel-expression is used along side on-target branch and on-event
This patch warns users in both the `user events namespaces` and `controller logs`
when using `on-event` and `on-target-branch` annotations along side
`on-cel-expression`
Hence warning users would avoid further confusion
Fixes: openshift-pipelines#1974
Signed-off-by: PuneetPunamiya <[email protected]>
msg:=fmt.Sprintf("Warning: The PipelineRun '%s' has both `on-cel-expression` and `on-event`/`on-target-branch` annotations. The `on-cel-expression` will take precedence, and the other annotations will be ignored.", prun.Name)
msg:=fmt.Sprintf("Warning: The PipelineRun '%s' has both `on-cel-expression` and `on-event` annotations. The `on-cel-expression` will take precedence, and the `on-event` annotation will be ignored.", prun.Name)
msg:=fmt.Sprintf("Warning: The PipelineRun '%s' has both `on-cel-expression` and `on-target-branch` annotations. The `on-cel-expression` will take precedence, and the `on-target-branch` annotation will be ignored.", prun.Name)
0 commit comments