Skip to content

Commit 17a430b

Browse files
committed
fix(ci): avoid concurrency group collision with reusable main workflow
1 parent 657ce1f commit 17a430b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/scripts/marketplace-pre-release-history.test.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,8 @@ test('consolidated release workflow configures trusted publishing and rechecks p
341341
assert.ok(!workflow.includes('OVSX_PAT'));
342342
assert.ok(!workflow.includes('VSCE_TOKEN'));
343343
assert.ok(!workflow.includes('OPEN_VSX_TOKEN'));
344+
assert.ok(workflow.includes("format('stable-publishing-{0}', github.ref)"));
345+
assert.ok(!workflow.includes("format('release-{0}', github.ref)"));
344346

345347
for (const [job, envName, command] of [
346348
['publish-vs-marketplace', 'vs-marketplace', 'vsce publish --oidc'],

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
workflow_dispatch:
1515

1616
concurrency:
17-
group: ${{ github.event_name == 'push' && format('release-{0}', github.ref) || 'marketplace-pre-release' }}
17+
group: ${{ github.event_name == 'push' && format('stable-publishing-{0}', github.ref) || 'marketplace-pre-release' }}
1818
cancel-in-progress: false
1919

2020
permissions:

0 commit comments

Comments
 (0)