Skip to content

Commit 6650534

Browse files
committed
ci(template): Add single job to join on, which will be used as required checks in github
1 parent e2b1da5 commit 6650534

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

template/.github/workflows/build.yaml.j2

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,20 @@ jobs:
223223
image-index-uri: oci.stackable.tech/sdp/${{ env.OPERATOR_NAME }}:${{ needs.build-container-image.outputs.operator-version }}
224224
image-architecture: ${{ matrix.arch }}
225225

226+
# This job is a required check in GitHub Settings for this repository.
227+
# It saves us having to list many required jobs, or work around dynamically
228+
# named jobs (since there is no concept of required settings).
229+
finished:
230+
# WARNING: Do not change the name unless you will also be changing the
231+
# Required Checks (in branch protections) in GitHub settings.
232+
name: Finished Build and Publish
233+
needs:
234+
- openshift-preflight-check
235+
- publish-helm-chart
236+
runs-on: ubuntu-latest
237+
steps:
238+
- run: echo "We are done here"
239+
226240
notify:
227241
name: Failure Notification
228242
needs:

0 commit comments

Comments
 (0)