diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9c29b53..5e10090 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,6 +10,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: ${{ github.head_ref != 'main' }} + jobs: checks: runs-on: ubuntu-latest