diff --git a/.github/workflows/rust-ci.yaml b/.github/workflows/rust-ci.yaml index 4885b51f4..857337e6d 100644 --- a/.github/workflows/rust-ci.yaml +++ b/.github/workflows/rust-ci.yaml @@ -7,6 +7,10 @@ on: branches: [ main ] workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + defaults: run: working-directory: rustutils/