Skip to content

Commit 388423b

Browse files
committed
Update
1 parent c1f1a70 commit 388423b

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/trigger-openshift-builds.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
11
name: Trigger OpenShift Auto Builds
22

33
on:
4-
push:
4+
workflow_run:
5+
workflows:
6+
- Continuous Integration (CI)
7+
types:
8+
- completed
59
branches:
610
- main
711

812
jobs:
913
trigger_build_webhooks:
14+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1015
runs-on: ubuntu-latest
1116

1217
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
with:
21+
ref: ${{ github.event.workflow_run.head_sha }}
22+
1323
- name: Trigger backend build webhook
1424
uses: ./.github/actions/trigger-webhook
1525
with:

0 commit comments

Comments
 (0)