This repository has been archived on 2026-08-04. You can view files and clone it, but cannot push or open issues or pull requests.
exec-aide/.github/workflows/ci.yaml
Adam Moussa 08fd2114a5
chore(ci): add aggregator job reporting the org-required 'ci / ci' context (#49)
exec-aide's caller jobs are named python/typescript, so the org ruleset's
required 'ci / ci' status check never reported here and every PR was
merge-blocked for non-admins. The aggregator needs all real CI jobs and
fails if any failed or was cancelled.
2026-06-05 15:09:01 -04:00

27 lines
819 B
YAML

name: CI
on:
pull_request:
branches: [main]
jobs:
python:
uses: Sea-Haven-Industries/.github/.github/workflows/ci-python-sam.yaml@main
with:
source-dirs: "src"
run-sam-validate: false
typescript:
uses: Sea-Haven-Industries/.github/.github/workflows/ci-typescript-cdk.yaml@main
with:
run-cdk-synth: false
# Aggregator producing the org-required "ci / ci" status context.
# Caller jobs here have distinct names (python, typescript), so the
# org ruleset's required check would otherwise never report.
ci:
name: ci / ci
needs: [python, typescript]
if: always()
runs-on: ubuntu-latest
steps:
- name: All CI jobs passed
run: |
[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}" = "false" ]