Skip to content

Commit 375afba

Browse files
committed
ci: cancel duplicate Tideclaw alpha release runs
1 parent a00e7d3 commit 375afba

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/full-release-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ permissions:
108108

109109
concurrency:
110110
group: full-release-validation-${{ inputs.ref }}-${{ inputs.rerun_group }}
111-
cancel-in-progress: ${{ inputs.ref == 'main' && inputs.rerun_group == 'all' }}
111+
cancel-in-progress: ${{ (inputs.ref == 'main' && inputs.rerun_group == 'all') || startsWith(inputs.ref, 'tideclaw/alpha/') }}
112112

113113
env:
114114
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"

.github/workflows/openclaw-npm-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232

3333
concurrency:
3434
group: openclaw-npm-release-${{ github.event_name == 'workflow_dispatch' && format('{0}-{1}', inputs.tag, inputs.npm_dist_tag) || github.ref }}
35-
cancel-in-progress: false
35+
cancel-in-progress: ${{ github.event_name == 'workflow_dispatch' && inputs.preflight_only && inputs.npm_dist_tag == 'alpha' }}
3636

3737
env:
3838
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"

.github/workflows/openclaw-release-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ on:
8181

8282
concurrency:
8383
group: openclaw-release-checks-${{ inputs.expected_sha || inputs.ref }}-${{ inputs.rerun_group }}
84-
cancel-in-progress: false
84+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/heads/tideclaw/alpha/') }}
8585

8686
env:
8787
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"

0 commit comments

Comments
 (0)