Skip to content

Add Trusted Publishing documentation #11414

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 3 commits into from
Jun 23, 2025
Merged

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Jun 23, 2025

This PR adds a "Learn more" button to the Trusted Publishing section of the crate settings:

Bildschirmfoto 2025-06-23 um 17 10 30

Clicking this button leads to crates.io/docs/trusted-publishing, which will show this:

Screen Shot 2025-06-23 at 17 10 50

The GitHub Action itself does not exist yet (at least not under that official name). Should we keep this PR open in draft mode for now or merge it and update later if any changes are necessary?

Related:

@Turbo87 Turbo87 added the C-documentation 📜 Category: Documentation of crates.io itself label Jun 23, 2025
@Turbo87 Turbo87 requested a review from a team June 23, 2025 15:45
Copy link
Contributor

@LawnGnome LawnGnome left a comment

Choose a reason for hiding this comment

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

A couple of tiny nits, but LGTM. I'm glad we're going to have this help page!

<pre><code>name: Publish to crates.io
on:
push:
tags: ['v*']
Copy link
Contributor

Choose a reason for hiding this comment

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

We should probably explain before this snippet that this will publish each time a v tag is pushed (since that may not be super obvious to someone who's not very familiar with GitHub Actions).

Copy link
Member Author

Choose a reason for hiding this comment

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

Bildschirmfoto 2025-06-23 um 19 46 57

done!

I've also added syntax highlighting to the snippet to make it easier to digest.

@Turbo87 Turbo87 merged commit da57d50 into rust-lang:main Jun 23, 2025
11 checks passed
@Turbo87 Turbo87 deleted the trustpub-docs branch June 23, 2025 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-documentation 📜 Category: Documentation of crates.io itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants