Skip to content

Commit

Permalink
Merge pull request #382 from leofang/status_check_11
Browse files Browse the repository at this point in the history
[Backport] Add CI Status check
  • Loading branch information
leofang authored Jan 12, 2025
2 parents bf4ab09 + c4f0026 commit d1345cb
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,3 +268,14 @@ jobs:
fi
pytest -rxXs tests_cython
popd
checks:
name: Check job status
permissions:
checks: read
needs:
- build
- test
secrets: inherit
uses:
./.github/workflows/status-check.yml
16 changes: 16 additions & 0 deletions .github/workflows/status-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "CI: Summary"

on:
workflow_call:

jobs:
checks:
name: Check job status
runs-on: ubuntu-latest
steps:
- name: GitHub Checks
uses: poseidon/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
match_pattern: "CI*"
ignore_pattern: ".*Check job status.*" # ignore self

0 comments on commit d1345cb

Please sign in to comment.