Skip to content

Commit

Permalink
chore: fix ci for test runs (#601)
Browse files Browse the repository at this point in the history
previously we were using github.ref which would be main for two
different PRs making the concurrency group in valid

head_ref should work for on pull request events and that should be the
source branch
  • Loading branch information
h4ck3rk3y authored May 8, 2024
1 parent 583db1b commit 11cb097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/per-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:

concurrency:
group: "tests-${{ github.ref }}"
group: "tests-${{ github.head_ref }}"
cancel-in-progress: true

jobs:
Expand Down

0 comments on commit 11cb097

Please sign in to comment.