Skip to content

Commit 5fa83db

Browse files
authored
Add summary ci check (#2326)
* rework to preserve external fork actions
1 parent 8186eb9 commit 5fa83db

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/repository-dispatch.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ jobs:
2929
permissions:
3030
contents: read
3131

32+
ci:
33+
needs: [backend-verify, frontend-verify]
34+
runs-on: blacksmith-2vcpu-ubuntu-2404
35+
steps:
36+
- name: Check all jobs passed
37+
run: |
38+
if [[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
39+
exit 1
40+
fi
3241
dispatch:
3342
needs: [backend-verify, frontend-verify]
3443
if: "!failure() && !cancelled()"
@@ -58,4 +67,4 @@ jobs:
5867
token: ${{ env.ACTIONS_BOT_TOKEN }}
5968
repository: redpanda-data/console-enterprise
6069
event-type: push
61-
client-payload: '{"branch": "${{ github.ref_name }}", "commit_sha": "${{ github.sha }}"}'
70+
client-payload: '{"branch": "${{ github.ref_name }}", "commit_sha": "${{ github.sha }}"}'

0 commit comments

Comments
 (0)