ci: make client release dry-runs approval-free#222
Merged
Conversation
This was referenced May 7, 2026
This was referenced May 7, 2026
NikolayS
added a commit
that referenced
this pull request
May 7, 2026
Two follow-ups to #222: - release-go.yml validate + publish, release-typescript.yml validate + publish, and release-python.yml build all `actions/checkout@v4` with `ref: main`. Between validate and post-approval publish, main can advance and publish would build a different SHA than validate verified. Pin every checkout to `${{ github.sha }}` so a single dispatch invocation always operates on one commit. - The Python release workflow's regex `^[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?$` rejects PEP 440 canonical prereleases (`0.2.0rc1`, `0.2.0.dev0`) while still accepting PyPI-invalid forms like `0.2.0-dev`. Replaced with packaging.version.Version that requires the input to be in PEP 440 canonical form (so `0.2.0-rc.1` and `0.2.0-dev` are also rejected, since they normalise to something the operator did not type and would silently disagree with pyproject.toml). Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
36 tasks
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
Prepare issues #181, #182, and #183 for actual client distribution once 0.2.0 stamping is ready.
Changes:
Validation
python -m build+twine check dist/*passedbun run check,bun run test,bun run build,npm pack --dry-runpassedgo test ./...passed in Docker Go 1.23Notes
Issue #180 low-effort discoverability step is already done: GitHub topics were added directly to the repo.
Closes none; publish issues stay open until packages are actually published/indexed.