Skip to content

Commit 4f4e60c

Browse files
committed
Add all-greens for branch protection
1 parent 60b7278 commit 4f4e60c

3 files changed

Lines changed: 37 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,16 @@ jobs:
5454
env:
5555
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5656
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
57+
58+
check:
59+
if: always()
60+
needs:
61+
- lint
62+
- sonar-scan
63+
- unit-tests
64+
runs-on: ubuntu-latest
65+
steps:
66+
- name: Decide whether the needed jobs succeeded or failed
67+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # release/v1
68+
with:
69+
jobs: ${{ toJSON(needs) }}

.github/workflows/e2e-browser.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,15 @@ jobs:
5959
with:
6060
name: playwright-output
6161
path: test-results/
62+
63+
check:
64+
if: always()
65+
needs:
66+
- e2e-browser
67+
runs-on: ubuntu-latest
68+
steps:
69+
- name: Decide whether the needed jobs succeeded or failed
70+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # release/v1
71+
with:
72+
allowed-skips: e2e-browser
73+
jobs: ${{ toJSON(needs) }}

.github/workflows/e2e-node.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,15 @@ jobs:
5151
E2E_TEST_FEATURE_ACP_V3: ${{ secrets.E2E_TEST_FEATURE_ACP_V3 }}
5252
E2E_TEST_FEATURE_WAC: ${{ secrets.E2E_TEST_FEATURE_WAC }}
5353
E2E_TEST_FEATURE_PROBLEM_DETAILS: ${{ secrets.E2E_TEST_FEATURE_PROBLEM_DETAILS }}
54+
55+
check:
56+
if: always()
57+
needs:
58+
- e2e-node
59+
runs-on: ubuntu-latest
60+
steps:
61+
- name: Decide whether the needed jobs succeeded or failed
62+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # release/v1
63+
with:
64+
allowed-skips: e2e-node
65+
jobs: ${{ toJSON(needs) }}

0 commit comments

Comments
 (0)