Skip to content

Commit

Permalink
chore(ci): only process the last commit per ref
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Jun 2, 2024
1 parent a40f9c3 commit 2936f0d
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
pull_request:
workflow_dispatch:

concurrency:
group: benchmark-${{ github.ref }}
cancel-in-progress: true

jobs:
benchmark:
name: Benchmark ${{ matrix.archs }} ${{ matrix.build }} on ${{ matrix.os }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- "dependabot/**"
pull_request:

concurrency:
group: build-upload-${{ github.ref }}
cancel-in-progress: true

jobs:
lint:
name: Lint
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- "dependabot/**"
pull_request:

concurrency:
group: coverage-${{ github.ref }}
cancel-in-progress: true

jobs:
build_sdist:
name: Coverage
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- "dependabot/**"
pull_request:

concurrency:
group: msys2-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
name: Test with MSYS2 ${{ matrix.sys }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- "dependabot/**"
pull_request:

concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
name: Test
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- "dependabot/**"
pull_request:

concurrency:
group: valgrind-${{ github.ref }}
cancel-in-progress: true

jobs:
build_sdist:
name: Valgrind
Expand Down

0 comments on commit 2936f0d

Please sign in to comment.