diff --git a/.github/workflows/check-python-code.yaml b/.github/workflows/check-python-code.yaml index f2de60dc6..5948c3826 100644 --- a/.github/workflows/check-python-code.yaml +++ b/.github/workflows/check-python-code.yaml @@ -92,3 +92,18 @@ jobs: - name: Run make check run: make check + + # Single stable check-run name for the whole matrix, so a required-status- + # check rule never has to track individual Python-version cells. Add or + # drop a cell above and this job's name still covers it. + all-python-checks-pass: + name: All Python checks pass + needs: [check] + if: always() + runs-on: ubuntu-slim + permissions: {} + + steps: + - uses: lowlydba/are-we-good@f506ed6324f55ec5e4ff5d92204a72c7f1c2b4f8 # v1.0.5 + with: + jobs: ${{ toJSON(needs) }} diff --git a/.github/workflows/schema-pr-preview.yml b/.github/workflows/schema-pr-preview.yml index 3feea9e86..27ddca841 100644 --- a/.github/workflows/schema-pr-preview.yml +++ b/.github/workflows/schema-pr-preview.yml @@ -23,7 +23,7 @@ jobs: run: | echo "::warning title=Staging deploy not supported for fork PRs::Staging previews are only available for PRs from branches within this repository, not forks. Please open your PR from a branch in OvertureMaps/schema instead." build: - name: Build + name: Build preview if: github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-latest needs: check-fork diff --git a/.github/workflows/test-schema.yaml b/.github/workflows/test-schema.yaml index 5cdb2e3de..802607f41 100644 --- a/.github/workflows/test-schema.yaml +++ b/.github/workflows/test-schema.yaml @@ -9,12 +9,19 @@ on: - 'schema/**' - 'examples/**' - 'counterexamples/**' + pull_request: + paths: + - 'schema/**' + - 'examples/**' + - 'counterexamples/**' permissions: contents: read concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + # push never fires for fork PRs, so pull_request is the only trigger a + # required check can rely on from external contributors. + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: