Skip to content

Commit

Permalink
Fix cancel-in-progress in GH Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket committed Sep 15, 2023
1 parent 2aef13b commit 7cd2c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref == 'refs/heads/master' }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
test:
Expand Down

0 comments on commit 7cd2c18

Please sign in to comment.