Repository navigation
ci: use crates.io trusted publishing - #11
Merged
Merged
Conversation
Empty CARGO_REGISTRY_TOKEN failed the post-#10 publish. Official release-plz TP: drop the secret, set id-token: write on the release job. release-plz exchanges the OIDC token itself. crates.io still needs trusted-publisher rows for copypatch and weavy (repo bearcove/weavy, workflow release-plz.yml, environment none).
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.
Post-#10
releasepackagedcopypatch 0.2.0-rc.5then died: emptyCARGO_REGISTRY_TOKEN.Official TP path (release-plz quickstart):
CARGO_REGISTRY_TOKENentirely (even an empty secret blocks OIDC)id-token: writeon the release jobrust-lang/crates-io-auth-action; release-plz does the exchangerelease-prdoes not need a crates.io token.You still have to click this on crates.io for
copypatchandweavy:bearcove/weavyrelease-plz.ymlWithout those rows this PR merges green and the next
releasestill cannot publish.