Skip to content

Commit

Permalink
Try pull_request_number with push
Browse files Browse the repository at this point in the history
  • Loading branch information
msugakov committed May 23, 2024
1 parent 821e3b0 commit 502b4a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .tekton/scanner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/stackrox/scanner?rev={{revision}}
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "500"
# TODO(ROX-21073): re-enable for all PR branches
pipelinesascode.tekton.dev/on-cel-expression: (event == "push" && target_branch == "master") || (event == "pull_request" && (source_branch.contains("konflux") || source_branch.contains("rhtap")))
# || (event == "pull_request" && (source_branch.contains("konflux") || source_branch.contains("rhtap")))
pipelinesascode.tekton.dev/on-cel-expression: (event == "push" && target_branch == "misha/join-konflux-pipeline-files")
creationTimestamp: null
labels:
appstudio.openshift.io/application: acs
Expand Down

0 comments on commit 502b4a8

Please sign in to comment.