Skip to content

Commit

Permalink
fix: workflow concurrency group should be only for that pr
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyg committed Sep 11, 2024
1 parent e0f1780 commit cd985e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
pull_request: {}

concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true
group: test-${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
test-and-bench:
Expand Down

0 comments on commit cd985e0

Please sign in to comment.