Skip to content

Commit

Permalink
ci: fix concurrency cancel-in-progress for pull requests (hemilabs#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuasing authored Mar 7, 2024
1 parent 033ca00 commit 4f434c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

concurrency:
group: "go-${{ github.workflow }}-${{ github.event.number || github.ref }}"
cancel-in-progress: "${{ github.event.action == 'push' || github.event.action == 'pull_request' }}"
cancel-in-progress: "${{ github.event_name == 'pull_request' }}"

permissions:
contents: read
Expand Down

0 comments on commit 4f434c1

Please sign in to comment.