Skip to content

Commit d1345cb

Browse files
authored
Merge pull request #382 from leofang/status_check_11
[Backport] Add CI Status check
2 parents bf4ab09 + c4f0026 commit d1345cb

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.github/workflows/build-and-test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,3 +268,14 @@ jobs:
268268
fi
269269
pytest -rxXs tests_cython
270270
popd
271+
272+
checks:
273+
name: Check job status
274+
permissions:
275+
checks: read
276+
needs:
277+
- build
278+
- test
279+
secrets: inherit
280+
uses:
281+
./.github/workflows/status-check.yml

.github/workflows/status-check.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "CI: Summary"
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
checks:
8+
name: Check job status
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: GitHub Checks
12+
uses: poseidon/[email protected]
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
match_pattern: "CI*"
16+
ignore_pattern: ".*Check job status.*" # ignore self

0 commit comments

Comments
 (0)