Skip to content

Commit

Permalink
Merge pull request #379 from leofang/status_check
Browse files Browse the repository at this point in the history
Add CI status check
  • Loading branch information
leofang authored Jan 12, 2025
2 parents 4cbab16 + eb177f9 commit ece3281
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Backport merged pull request
name: "CI: Backport the merged PR"

on:
pull_request_target:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -389,3 +389,15 @@ jobs:
./.github/workflows/build-docs.yml
with:
build_ctk_ver: ${{ needs.build.outputs.BUILD_CTK_VER }}

checks:
name: Check job status
permissions:
checks: read
needs:
- build
- test
- doc
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 ece3281

Please sign in to comment.