-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support Trusted Publishers #17
Comments
Would a shell script be enough, or does it have to be pure Python? curl --get "$ACTIONS_ID_TOKEN_REQUEST_URL" \
--header "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
--data $(curl "https://$REGISTRY_DOMAIN/_/oidc/audience") |
jq "{token: .value}" |
curl "https://$REGISTRY_DOMAIN/_/oidc/github/mint-token" --data @- |
jq --raw-output .value Note that #17 (comment) is wrong, and |
shell script is the only thing supported1 Footnotes
|
looks like it's meant to be |
It also works with |
password.required: false
registry-domain.default: https://upload.pypi.org
password
undefined, generate OIDC "password"references
detect_github(audience) -> oidc_token
: https://github.com/di/id/blob/main/id/_internal/oidc/ambient.pyThe text was updated successfully, but these errors were encountered: