From dffa3ac3b6e4cfe348bd9590bca0737c69e28f0d Mon Sep 17 00:00:00 2001 From: tkko Date: Fri, 6 Nov 2026 17:26:53 +0400 Subject: [PATCH] ci: accept skip_validation on the publish workflow Lets Create Release & Tag skip the second validation run on a commit it already validated. Tag pushes and manual runs default to false and still validate. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/publish.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ea49b57..29b1b08 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,6 +5,12 @@ on: tags: - 'v[0-9]+.[0-9]+.[0-9]+*' workflow_dispatch: + inputs: + skip_validation: + description: 'Skip Test & Validate (set by Create Release & Tag, which already validated this commit)' + required: false + type: boolean + default: false permissions: contents: read @@ -15,3 +21,5 @@ jobs: contents: read id-token: write uses: Tkko/better-actions/.github/workflows/publish.yml@main + with: + skip-validation: ${{ inputs.skip_validation == true }}