Skip to content

Commit ece3281

Browse files
authored
Merge pull request #379 from leofang/status_check
Add CI status check
2 parents 4cbab16 + eb177f9 commit ece3281

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed

.github/workflows/backport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Backport merged pull request
1+
name: "CI: Backport the merged PR"
22

33
on:
44
pull_request_target:

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,3 +389,15 @@ jobs:
389389
./.github/workflows/build-docs.yml
390390
with:
391391
build_ctk_ver: ${{ needs.build.outputs.BUILD_CTK_VER }}
392+
393+
checks:
394+
name: Check job status
395+
permissions:
396+
checks: read
397+
needs:
398+
- build
399+
- test
400+
- doc
401+
secrets: inherit
402+
uses:
403+
./.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)