Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/check-python-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}
2 changes: 1 addition & 1 deletion .github/workflows/schema-pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/test-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading