mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-09-30 05:23:14 +00:00
chore(ci): add aggregator job reporting the org-required 'ci / ci' context (#108)
Some checks failed
Deploy / Deploy to AWS (push) Has been cancelled
Some checks failed
Deploy / Deploy to AWS (push) Has been cancelled
proposal-system's seven CI jobs have distinct names, so the org ruleset's required 'ci / ci' status check never reported here. The aggregator needs all real CI jobs and fails if any failed or was cancelled. NOTE: this check will be red until the pre-existing Python Lint/Tests failures (INFRA-55) are fixed — it reports CI state honestly.
This commit is contained in:
parent
32c2d03c4c
commit
38aebb5ebd
1 changed files with 13 additions and 0 deletions
13
.github/workflows/ci.yaml
vendored
13
.github/workflows/ci.yaml
vendored
|
|
@ -105,3 +105,16 @@ jobs:
|
||||||
dotnet-version: "8.0.x"
|
dotnet-version: "8.0.x"
|
||||||
dotnet-publish-project: api/src/ProposalSystem.Api/ProposalSystem.Api.csproj
|
dotnet-publish-project: api/src/ProposalSystem.Api/ProposalSystem.Api.csproj
|
||||||
run-typecheck: false
|
run-typecheck: false
|
||||||
|
|
||||||
|
# Aggregator producing the org-required "ci / ci" status context.
|
||||||
|
# Caller/inline jobs here have distinct names, so the org ruleset's
|
||||||
|
# required check would otherwise never report on this repo.
|
||||||
|
ci:
|
||||||
|
name: ci / ci
|
||||||
|
needs: [dotnet, web, web-test, python, python-test, mobile, infra]
|
||||||
|
if: always()
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: All CI jobs passed
|
||||||
|
run: |
|
||||||
|
[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}" = "false" ]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue