From 4c4848262d7f644280adc4d9b2a36e61242fb3d1 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Sat, 10 Oct 2026 12:01:06 +0800 Subject: [PATCH] ci: expose force-replace for manual republishing Metadata-only changes (e.g. abstracts) do not bump editions, so the release tool skips published tags. force-replace lets a manual dispatch delete and recreate them with the same tags. --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 236ca4c..3c11933 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,10 @@ on: required: false type: boolean default: false + force-replace: + description: 'Comma-separated doc IDs or glob patterns to force-replace published releases (e.g. cc-a-*)' + required: false + default: '' permissions: contents: write @@ -26,4 +30,5 @@ jobs: default-visibility: private include-pattern: ${{ github.event.inputs.include-pattern || '*' }} force: ${{ github.event.inputs.force == 'true' }} + force-replace: ${{ github.event.inputs.force-replace || '' }} secrets: inherit