From 375afbad2ddbe664e4f862a2cedef2e41ae71459 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 20 May 2026 00:42:23 +0100 Subject: [PATCH] ci: cancel duplicate Tideclaw alpha release runs --- .github/workflows/full-release-validation.yml | 2 +- .github/workflows/openclaw-npm-release.yml | 2 +- .github/workflows/openclaw-release-checks.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/full-release-validation.yml b/.github/workflows/full-release-validation.yml index c9ef784d5a8..f20d080a97e 100644 --- a/.github/workflows/full-release-validation.yml +++ b/.github/workflows/full-release-validation.yml @@ -108,7 +108,7 @@ permissions: concurrency: group: full-release-validation-${{ inputs.ref }}-${{ inputs.rerun_group }} - cancel-in-progress: ${{ inputs.ref == 'main' && inputs.rerun_group == 'all' }} + cancel-in-progress: ${{ (inputs.ref == 'main' && inputs.rerun_group == 'all') || startsWith(inputs.ref, 'tideclaw/alpha/') }} env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" diff --git a/.github/workflows/openclaw-npm-release.yml b/.github/workflows/openclaw-npm-release.yml index 12bb52a21bf..9d303524cb9 100644 --- a/.github/workflows/openclaw-npm-release.yml +++ b/.github/workflows/openclaw-npm-release.yml @@ -32,7 +32,7 @@ on: concurrency: group: openclaw-npm-release-${{ github.event_name == 'workflow_dispatch' && format('{0}-{1}', inputs.tag, inputs.npm_dist_tag) || github.ref }} - cancel-in-progress: false + cancel-in-progress: ${{ github.event_name == 'workflow_dispatch' && inputs.preflight_only && inputs.npm_dist_tag == 'alpha' }} env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" diff --git a/.github/workflows/openclaw-release-checks.yml b/.github/workflows/openclaw-release-checks.yml index 3b99940d462..8a5a044e246 100644 --- a/.github/workflows/openclaw-release-checks.yml +++ b/.github/workflows/openclaw-release-checks.yml @@ -81,7 +81,7 @@ on: concurrency: group: openclaw-release-checks-${{ inputs.expected_sha || inputs.ref }}-${{ inputs.rerun_group }} - cancel-in-progress: false + cancel-in-progress: ${{ startsWith(github.ref, 'refs/heads/tideclaw/alpha/') }} env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"