Skip to content

Commit c5b20f1

Browse files
Set concurrency key. (#1112)
As used for similar Foundation builds.
1 parent 6d1722d commit c5b20f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ on:
77
branches:
88
- "**"
99

10-
# This is conservative: ideally we'd include branch and stage in this key
11-
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
12-
concurrency: deploy-python-editor-v3
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ startsWith(github.ref, 'refs/tags/v') && 'release' || github.ref }}
12+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/v') }}
1313

1414
jobs:
1515
build:

0 commit comments

Comments
 (0)