Repository navigation
Update typings for actions/setup-python@v7 - #215
Merged
Merged
Conversation
## actions/setup-python@v7 - `mirror` (input): proposed type `string`. The action's `action.yml` declares it as a "Base URL for downloading Python distributions (only applies to CPython; PyPy and GraalPy are unaffected). Defaults to https://raw.githubusercontent.com/actions/python-versions/main", and the action's docs (`docs/advanced-usage.md`, "Using a custom mirror") show it being set to a plain URL, e.g. `https://python-mirror.internal.example`. This matches how the analogous `mirror` input is typed for `actions/setup-node` in this catalog. - `mirror-token` (input): proposed type `string`. The action's `action.yml` declares it as "Token used to authenticate requests to the host named in 'mirror'. Sent verbatim as the Authorization header, so include a scheme if your mirror needs one (e.g. 'Bearer <token>')" - an opaque credential passed as-is, so a plain string. This matches how the analogous `mirror-token` input is typed for `actions/setup-node` in this catalog. Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
krzema12
enabled auto-merge (squash)
October 22, 2026 19:23
krzema12
approved these changes
Oct 22, 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.
actions/setup-python@v7
mirror(input): proposed typestring. The action'saction.ymldeclares it as "Base URL for downloading Python distributions (only applies to CPython; PyPy and GraalPy are unaffected). Defaults to https://raw.githubusercontent.com/actions/python-versions/main", and the action's docs (docs/advanced-usage.md, "Using a custom mirror") show it being set to a plain URL, e.g.https://python-mirror.internal.example. This matches how the analogousmirrorinput is typed foractions/setup-nodein this catalog.mirror-token(input): proposed typestring. The action'saction.ymldeclares it as "Token used to authenticate requests to the host named in 'mirror'. Sent verbatim as the Authorization header, so include a scheme if your mirror needs one (e.g. 'Bearer ')" - an opaque credential passed as-is, so a plain string. This matches how the analogousmirror-tokeninput is typed foractions/setup-nodein this catalog.