Skip to content

Add GET /api/v1/trusted_publishing/github_configs API endpoint #11230

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

Merged
merged 1 commit into from
May 23, 2025

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented May 23, 2025

This PR implements the API endpoint to list all existing Trusted Publishing configurations for a crate.

As with the other related endpoints, this endpoint is only available to full crate owners (no team accounts) and (for now) only with cookie authentication.

Related:

@Turbo87 Turbo87 requested a review from a team May 23, 2025 11:28
@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-backend ⚙️ labels May 23, 2025
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.

LGTM 👍

I'm also glad to see the test_team_owner case added to both endpoints, which I noticed but forgot to mention!

@Turbo87 Turbo87 merged commit 86a2b20 into rust-lang:main May 23, 2025
10 checks passed
@Turbo87 Turbo87 deleted the list-trustpub-configs branch May 23, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ 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.

2 participants