Skip to content

Commit

Permalink
Add concurrency to ci workflow (#636)
Browse files Browse the repository at this point in the history
* Add concurrency to ci workflow

* Revert change
  • Loading branch information
fmoletta authored May 30, 2024
1 parent 5d8ab59 commit 2edf204
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
merge_group:
types: [checks_requested]

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

jobs:
check:
name: clippy
Expand Down

0 comments on commit 2edf204

Please sign in to comment.