Skip to content

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Sep 17, 2025

This PR adds a new trusted-publishing endpoint scope to our API tokens. If this scope is used, then the API token can be used to create, list and delete Trusted Publishing configurations for the configured crates. As with the other scopes, a legacy token without any scopes can also be used for the same purpose now.

This change will allow our users with larger workspaces to automate the setup of creating Trusted Publishing configurations, which should help with adoption of Trusted Publishing by power users.

@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-frontend 🐹 A-backend ⚙️ and removed A-frontend 🐹 A-backend ⚙️ labels Sep 17, 2025
@Turbo87 Turbo87 force-pushed the api-token-trustpub-config branch from 91e3d9b to 6c88d4a Compare September 17, 2025 11:03
@Turbo87 Turbo87 requested a review from a team September 17, 2025 11:19
@Turbo87 Turbo87 force-pushed the api-token-trustpub-config branch from 6c88d4a to f8c6a54 Compare September 17, 2025 13:46
Copy link
Contributor

@eth3lbert eth3lbert left a comment

Choose a reason for hiding this comment

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

Thanks for making this. Aside from a nitpick about the un-unified wildcard scope and seemingly missing e2e tests for the UI, it LGTM overall!

This commit adds a new endpoint scope to our API tokens: `trusted-publishing`. If this scope is used, then the API token can be used to create, list and delete Trusted Publishing configurations for the configured crates.
@Turbo87 Turbo87 force-pushed the api-token-trustpub-config branch from f8c6a54 to 30b6561 Compare September 19, 2025 11:39
@Turbo87
Copy link
Member Author

Turbo87 commented Sep 19, 2025

both fixed, thanks for the review! ❤️

@Turbo87 Turbo87 force-pushed the api-token-trustpub-config branch from 30b6561 to 8b83c5f Compare September 19, 2025 11:54
@Turbo87 Turbo87 merged commit 884ace3 into rust-lang:main Sep 21, 2025
11 checks passed
@Turbo87 Turbo87 deleted the api-token-trustpub-config branch September 21, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-backend ⚙️ A-frontend 🐹 C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants