chore: fix --json doc accuracy + bump CI actions to Node 24#2
Merged
Conversation
(1) Docs accuracy: README + module docstring said "every command accepts --json", but init/logout/keys delete/pay don't. Reworded to "data commands" (matches the /docs/cli site copy). Doc-only — reaches PyPI on the next release. (2) GitHub Actions Node 20 deprecation (forced to Node 24 on 2026-06-02, removed 2026-09-16): bump checkout v4->v6, setup-python v5->v6, upload-artifact v4->v7, download-artifact v4->v8, repository-dispatch v3->v4. Our inputs (python-version, name/path, token/event-type/ client-payload, bare checkout) are unchanged across these majors. gh-action-pypi-publish is a composite action (not Node-20), left at release/v1. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Two small follow-ups, no release needed (doc-only + CI-only).
1. Docs accuracy
README (×2) and the
cli.pymodule docstring claimed "every command accepts--json" — false:init,logout,keys delete, andpaydon't. Reworded to "data commands", matching the just-shipped/docs/clisite copy. Reaches PyPI on the next release.2. Node 20 → Node 24 actions
GitHub forces Node-20 actions to Node 24 on 2026-06-02 and removes Node 20 on 2026-09-16. Bumped to current majors:
actions/checkoutv4 → v6actions/setup-pythonv5 → v6actions/upload-artifactv4 → v7actions/download-artifactv4 → v8peter-evans/repository-dispatchv3 → v4pypa/gh-action-pypi-publishis a composite action (not a Node-20 action) — left atrelease/v1. All the inputs we pass (python-version,name/path,token/event-type/client-payload, bare checkout) are unchanged across these majors. This PR's CI run live-validates thecheckout/setup-pythonbumps; the publish-only actions take effect on the next release.🤖 Generated with Claude Code