Repository navigation
Disable PEP 740 attestations until publisher config moved to release.yml - #11
Merged
Merged
Conversation
PyPI trusted-publisher configs name this file (`deploy-package-action.yml`) but the sigstore attestation cert names `release.yml` (the reusable-workflow entry point), so PyPI 400s on every upload. Disable attestations for now; we can re-enable once the publisher configs are moved to `release.yml`.
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.
Summary
The release workflow deploy step 400'd with
Invalid attestations supplied during upload: Could not verify the uploaded artifact using the included attestation: Verification failed: Certificate's Build Config URI (.../release.yml) does not match. Reusable-workflow footgun documented at https://docs.pypi.org/trusted-publishers/troubleshooting/#reusable-workflows-on-github — the sigstore attestation cert names the entry-point workflow (release.yml), but PyPI's trusted-publisher configs forppbt(and the pending ones forppbt-cross-*) namedeploy-package-action.yml.Disabling PEP 740 attestations here lets the OIDC-authenticated upload proceed. Follow-up: repoint all three publisher configs on pypi.org to
release.yml, then re-enable attestations.Previous failing run: https://github.com/saltstack/ppbt/actions/runs/44880270521
Test plan
release.ymlwithkind=releaseafter merge.