Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

ci(verify): let repeated manual dispatches of one ref run side by side

Richie McIlroy37d17969f6d9
diff --git a/.github/workflows/engine-verify.yml b/.github/workflows/engine-verify.yml
index 9d208f8b4..bfd410763 100644
--- a/.github/workflows/engine-verify.yml
+++ b/.github/workflows/engine-verify.yml
@@ -55,7 +55,9 @@ permissions:
pull-requests: read
concurrency:
- group: engine-verify-${{ github.event.pull_request.number || github.ref }}-${{ inputs.tier || 'auto' }}
+ # Manual dispatches each get their own group, so repeats of the same ref
+ # run side by side instead of cancelling each other.
+ group: engine-verify-${{ github.event.pull_request.number || github.ref }}-${{ inputs.tier || 'auto' }}${{ github.event_name == 'workflow_dispatch' && format('-{0}', github.run_id) || '' }}
# Superseded PR pushes are cancelled; main and nightly runs finish so their
# caches are saved.
cancel-in-progress: ${{ github.event_name != 'schedule' && github.ref != 'refs/heads/main' }}