Skip to content
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 PyPI trusted publishers #18

Merged
merged 2 commits into from
Feb 6, 2024
Merged

support PyPI trusted publishers #18

merged 2 commits into from
Feb 6, 2024

Conversation

casperdcl
Copy link
Owner

Fixes #17

/CC @0x2b3bfa0

@casperdcl casperdcl added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 31, 2024
@casperdcl casperdcl self-assigned this Jan 31, 2024
@casperdcl casperdcl force-pushed the trusted-pub branch 2 times, most recently from a71259c to 360af8a Compare January 31, 2024 20:53
casperdcl added a commit to iterative/shtab that referenced this pull request Jan 31, 2024
- partially reverts #150
- depends on casperdcl/deploy-pypi#18
action.yml Outdated Show resolved Hide resolved
action.yml Outdated Show resolved Hide resolved
action.yml Outdated Show resolved Hide resolved
action.yml Outdated Show resolved Hide resolved
Copy link
Owner Author

@casperdcl casperdcl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like it isn't working

action.yml Outdated
Comment on lines 138 to 141
print(json.load(req.urlopen(req.Request(
url=os.getenv("INPUT_REGISTRY_DOMAIN") + "/_/oidc/github/mint-token",
data=json.dumps({"token": token["value"]}).encode(),
method="POST")))["token"], end="")')
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getting urllib.error.HTTPError: HTTP Error 422: Unprocessable Entity with this

@casperdcl casperdcl merged commit e3b0f95 into v2 Feb 6, 2024
3 checks passed
@casperdcl casperdcl deleted the trusted-pub branch February 6, 2024 21:42
0x2b3bfa0 pushed a commit to iterative/shtab that referenced this pull request Feb 11, 2024
* CI: bump actions

* cleaner trusted pub

- partially reverts #150
- depends on casperdcl/deploy-pypi#18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support Trusted Publishers
2 participants