feat: add action.yml composite wrapper + supporting workflows#10
Merged
Conversation
Brainstorm output for the composite GitHub Action that lets users replace the 11-line install-and-run block with `uses: modern-python/semvertag@v0`. Scope: action.yml + tag-major.yml floating-tag workflow + dogfood/CI/docs migration + v0.4.0 release runbook including the manual Marketplace publication procedure.
Bite-sized 8-task plan derived from the spec. Spec revision: CLI floor in action.yml is `>=0.3.1,<1` (not `>=0.4,<1`) so the PR landing this work satisfies its own action-smoke CI from PyPI today; the floor only bumps when a future release breaks CLI contract.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
33accd9 to
e18e7b8
Compare
Spec/plan picked @v8 as the "current latest" major, but astral only publishes floating major tags up to @v7 — specific v8.0.0/v8.1.0/v8.2.0 releases exist, but no `v8` ref. `@v8` resolved to nothing in CI (initially fixed via @V3 to match ci.yml; this commit upgrades to @v7 to stay closest to upstream's actual current). Spec, plan, and runbook updated to match.
The CLI emits internal status strings (`no_tags`, `already_tagged`, `no_merge_commit`, `no_conforming_commit`, `created`) but the action's documented enum was `created | no-bump | error` — consumers writing `if: outputs.status == 'no-bump'` would silently never match. Normalize inside the composite via a bash `case`: `created` stays `created`; everything else collapses to `no-bump`. `set -euo pipefail` already exits on CLI errors, so no `error` value is ever written — documentation tightened to reflect that. Spec / plan / provider docs updated to match.
This was referenced Jun 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
action.ymlso users can writeuses: modern-python/semvertag@v0instead of pasting the 11-line install-and-run block..github/workflows/tag-major.ymlto maintain the floatingv0major tag on each non-prerelease release.uses: ./and add a PR-timeaction-smokeCI job.docs/providers/github.mdaround the action; preserve the pure-CLI recipe as the "Without the composite action" fallback.planning/releases/0.4.0.mdrunbook including the manual Marketplace publication procedure.Spec and plan
Test plan