Skip to content

Commit

Permalink
Add support for canceling other jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Sep 12, 2023
1 parent 3e974ef commit 95ffbd5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
shellcheck:
name: Run shellcheck
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

steps:
- name: Checkout to branch
Expand All @@ -23,6 +26,9 @@ jobs:
test:
name: Test setup-postgresql
runs-on: ${{ matrix.platform }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 95ffbd5

Please sign in to comment.