Skip to content

Commit d7c96e8

Browse files
CopilotjeswrCopilot
authored
chore: add CI summary job (#571)
* Initial plan * chore: add CI summary job for branch protection Co-authored-by: jeswr <63333554+jeswr@users.noreply.github.com> * chore: rename CI job -> summary Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jeswr <63333554+jeswr@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9ff3a2b commit d7c96e8

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,22 @@ jobs:
7272
docs
7373
retention-days: 1
7474

75+
summary:
76+
# Summary job that can be used as a single required check in branch protection
77+
if: always()
78+
needs:
79+
- test
80+
- lint
81+
- spec
82+
- docs
83+
runs-on: ubuntu-latest
84+
permissions: {}
85+
steps:
86+
- name: Decide whether all required jobs succeeded or failed
87+
uses: re-actors/alls-green@release/v1
88+
with:
89+
jobs: ${{ toJSON(needs) }}
90+
7591
gh-pages:
7692
needs:
7793
- test

0 commit comments

Comments
 (0)