ci: restrict cancel-in-progress to PR and branch-push runs

This commit is contained in:
devin-ai-integration[bot] committed 2026-10-23 03:47:15 -07:00
1 parent a0b514c521
commit 6366608916
56 files changed
+114 -115

No files matched your search

+2 -2
View File
@@ -19,8 +19,8 @@ on:
- '.github/workflows/ec-integration-tests.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}
permissions:
contents: read