Skip to content

Commit d479074

Browse files
committed
ci: add all-done jobs
The main idea is to simplify branch protection rules, requiring just these all-done jobs to be passed. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent ea8eb90 commit d479074

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/containers.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,10 @@ jobs:
4141
run: docker exec --privileged `cat /tmp/cidfile` /bin/bash -e -c 'cd /src; ./scripts/ci-runner.sh run_tests'
4242
- name: Cleanup
4343
run: docker kill `cat /tmp/cidfile`
44+
45+
all-done:
46+
needs:
47+
- distro-test
48+
runs-on: ubuntu-latest
49+
steps:
50+
- run: echo "All jobs completed"

.github/workflows/go.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,10 @@ jobs:
3232
run: ./scripts/ci-runner.sh build_tests
3333
- name: Go vet
3434
run: ./scripts/ci-runner.sh go_vet
35+
36+
all-done:
37+
needs:
38+
- build
39+
runs-on: ubuntu-latest
40+
steps:
41+
- run: echo "All jobs completed"

0 commit comments

Comments
 (0)