diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0dac05a4..e119a7be 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,6 +9,11 @@ on: branches: [main] workflow_dispatch: +# Non-PR runs get a unique group so pushes to main and tag releases are never cancelled or queued. +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} + cancel-in-progress: true + permissions: id-token: write contents: write