Skip to content

Commit

Permalink
Enable Konflux PR triggering via label
Browse files Browse the repository at this point in the history
  • Loading branch information
msugakov committed Aug 12, 2024
1 parent 43bd7f7 commit f150e15
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .tekton/collector-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ metadata:
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.matches("^(master|release-.*)$")) || (event == "pull_request" && source_branch.matches("(konflux|appstudio|rhtap)"))
pipelinesascode.tekton.dev/on-cel-expression: |
(event == "push" && target_branch.matches("^(master|release-.*)$")) ||
(event == "pull_request" && (source_branch.matches("(konflux|appstudio|rhtap)") || body.pull_request.labels.exists(l, l.name == "konflux-build")))
creationTimestamp: null
labels:
appstudio.openshift.io/application: acs
Expand Down

0 comments on commit f150e15

Please sign in to comment.