We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1f1a70 commit 388423bCopy full SHA for 388423b
1 file changed
.github/workflows/trigger-openshift-builds.yml
@@ -1,15 +1,25 @@
1
name: Trigger OpenShift Auto Builds
2
3
on:
4
- push:
+ workflow_run:
5
+ workflows:
6
+ - Continuous Integration (CI)
7
+ types:
8
+ - completed
9
branches:
10
- main
11
12
jobs:
13
trigger_build_webhooks:
14
+ if: ${{ github.event.workflow_run.conclusion == 'success' }}
15
runs-on: ubuntu-latest
16
17
steps:
18
+ - name: Checkout repository
19
+ uses: actions/checkout@v4
20
+ with:
21
+ ref: ${{ github.event.workflow_run.head_sha }}
22
+
23
- name: Trigger backend build webhook
24
uses: ./.github/actions/trigger-webhook
25
with:
0 commit comments