Skip to content

chore(ci): add workflow_dispatch trigger to publish workflow#25

Merged
silversurfer562 merged 1 commit into
mainfrom
chore/add-workflow-dispatch-publish
May 11, 2026
Merged

chore(ci): add workflow_dispatch trigger to publish workflow#25
silversurfer562 merged 1 commit into
mainfrom
chore/add-workflow-dispatch-publish

Conversation

@silversurfer562
Copy link
Copy Markdown
Member

Summary

Adds workflow_dispatch trigger to python-publish.yml so we can re-trigger PyPI publishes manually when a release-triggered run fails for transient reasons (PyPI publisher config drift, env-approval gate timing, network blips, etc.) — without cutting a new release just to retry.

Why now

v0.11.1's release-triggered publish failed on 2026-05-09 with invalid-publisher: no corresponding publisher. After fixing the PyPI trusted-publisher config, the recommended recovery path (per attune-ai's CLAUDE.md lessons) is:

gh workflow run python-publish.yml --repo Smart-AI-Memory/attune-author --ref v0.11.1

That command requires workflow_dispatch on the workflow — which this PR adds.

Test plan

  • YAML validity: python -c "import yaml; yaml.safe_load(open('...'))"
  • After merge: trigger via gh workflow run python-publish.yml --ref v0.11.1 and verify the run starts

🤖 Generated with Claude Code

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 <tag>` after fixing config issues, instead of cutting a new
release just to retry the upload.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@silversurfer562 silversurfer562 merged commit d55b976 into main May 11, 2026
12 checks passed
@silversurfer562 silversurfer562 deleted the chore/add-workflow-dispatch-publish branch May 11, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant