Skip to content

Commit

Permalink
cancel outdated non master CI jobs
Browse files Browse the repository at this point in the history
so that pushing in quick succession will not cause a blockage in ci
  • Loading branch information
dten committed Jul 16, 2024
1 parent 3fe2aab commit 7c2a467
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
args: "--resolver lts-16"
- os: macos-latest
args: "--resolver lts-14"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'master' }}
steps:
- name: Clone project
uses: actions/checkout@v2
Expand Down

0 comments on commit 7c2a467

Please sign in to comment.