name: CI on: pull_request: branches: [main] jobs: python: uses: Sea-Haven-Industries/.github/.github/workflows/ci-python-sam.yaml@fd60e4c9041784f666ac0fdefb9bec3c7fbf5143 # main with: source-dirs: "src" run-sam-validate: false typescript: uses: Sea-Haven-Industries/.github/.github/workflows/ci-typescript-cdk.yaml@fd60e4c9041784f666ac0fdefb9bec3c7fbf5143 # 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" ]