We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
alls-green
1 parent cebc64f commit e0449d2Copy full SHA for e0449d2
.github/workflows/build-and-push-docker-image.yml
@@ -16,11 +16,28 @@ on: # yamllint disable-line rule:truthy
16
jobs:
17
smoke-test:
18
uses: ./.github/workflows/reusable-smoke-test.yml
19
+
20
+ check: # This job does nothing and is only used for the branch protection
21
+ if: always()
22
23
+ needs:
24
+ - smoke-test
25
26
+ runs-on: ubuntu-latest
27
28
+ timeout-minutes: 1
29
30
+ steps:
31
+ - name: Decide whether the needed jobs succeeded or failed
32
+ uses: re-actors/alls-green@release/v1
33
+ with:
34
+ jobs: ${{ toJSON(needs) }}
35
36
build-and-push:
37
if: github.event_name != 'pull_request'
38
runs-on: ubuntu-latest
39
needs:
- - smoke-test
40
+ - check
41
timeout-minutes: 10
42
steps:
43
- uses: actions/checkout@v4
0 commit comments