Skip to content

Update typings for actions/setup-python@v7 - #215

Merged
krzema12 merged 1 commit into
mainfrom
update-typings/actions-setup-python-v7
Oct 22, 2026
Merged

krzema12 merged 1 commit into
mainfrom
update-typings/actions-setup-python-v7

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

actions/setup-python@v7

  • mirror (input): proposed type string. The action's action.yml declares 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 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 ')" - 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.

## 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
krzema12 enabled auto-merge (squash) October 22, 2026 19:23
@krzema12
krzema12 merged commit 47739fc into main Oct 22, 2026
4 checks passed
@krzema12
krzema12 deleted the update-typings/actions-setup-python-v7 branch October 22, 2026 19:26
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