diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ee4886a..2da0753 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -105,3 +105,16 @@ jobs: dotnet-version: "8.0.x" dotnet-publish-project: api/src/ProposalSystem.Api/ProposalSystem.Api.csproj 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" ]