Skip to content

Commit

Permalink
Add cancel-in-progress to some workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
tymorrow committed Dec 7, 2023
1 parent 6d5d93a commit 6fc0358
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-and-run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Run unit tests
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/run-examples.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Run examples
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/run-linting.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Run linting
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
linting:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6fc0358

Please sign in to comment.