From cd717da3a427c17234256c18f8258f3473f27787 Mon Sep 17 00:00:00 2001 From: GeneAI Date: Mon, 11 May 2026 13:08:55 -0400 Subject: [PATCH] chore(ci): add workflow_dispatch trigger to publish workflow Lets us re-trigger PyPI publishes manually without creating a new release. Useful for recovery when a release-triggered run fails due to transient issues (PyPI trusted-publisher config, env approval gate, etc.). Per attune-ai CLAUDE.md lesson on the `pypi` env branch-policy pattern: re-trigger via `gh workflow run python-publish.yml --ref ` after fixing config issues, instead of cutting a new release just to retry the upload. Co-Authored-By: Claude Opus 4.7 --- .github/workflows/python-publish.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 82f8dbd..9981cb3 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -11,6 +11,12 @@ name: Upload Python Package on: release: types: [published] + workflow_dispatch: + inputs: + ref: + description: "Tag or branch to publish (e.g. v0.11.1)" + required: false + default: "" permissions: contents: read