diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 7b2cbe46..6579df0a 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -9,6 +9,10 @@ permissions: write-all env: CARGO_INCREMENTAL: 0 RUST_BACKTRACE: short +concurrency: + # only allow per workflow per commit (and not pr) to run at a time + group: "${{ github.workflow }} - ${{ github.head_ref || github.ref }}" + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: alpha: