diff --git a/template/.github/workflows/build.yaml.j2 b/template/.github/workflows/build.yaml.j2 index d2b09d74..be9d3f0b 100644 --- a/template/.github/workflows/build.yaml.j2 +++ b/template/.github/workflows/build.yaml.j2 @@ -75,8 +75,6 @@ jobs: build-container-image: name: Build/Publish ${{ matrix.runner.arch }} Image - needs: - - cargo-udeps permissions: id-token: write strategy: @@ -223,6 +221,21 @@ jobs: image-index-uri: oci.stackable.tech/sdp/${{ env.OPERATOR_NAME }}:${{ needs.build-container-image.outputs.operator-version }} image-architecture: ${{ matrix.arch }} + # This job is a required check in GitHub Settings for this repository. + # It saves us having to list many required jobs, or work around dynamically + # named jobs (since there is no concept of required settings). + finished: + # WARNING: Do not change the name unless you will also be changing the + # Required Checks (in branch protections) in GitHub settings. + name: Finished Build and Publish + needs: + - cargo-udeps + - openshift-preflight-check + - publish-helm-chart + runs-on: ubuntu-latest + steps: + - run: echo "We are done here" + notify: name: Failure Notification needs: