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
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,20 @@ name: Build and Test
on:
push:
branches: [ main ]
paths-ignore:
- '**.md'
- 'Docs/**'
pull_request:
branches: [ main ]
paths-ignore:
- '**.md'
- 'Docs/**'

# Cancel superseded runs on the same PR branch. main pushes are not cancelled
# so each merged commit gets its own pass.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
build-and-test:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- reopened
- synchronize

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
validate:
name: Validate PR
Expand Down
Loading