Skip to content

ci: Use trusted publishing for rattler crates - #2529

Open
pavelzw wants to merge 3 commits into
conda:mainfrom
pavelzw:trusted-publishing
Open

ci: Use trusted publishing for rattler crates#2529
pavelzw wants to merge 3 commits into
conda:mainfrom
pavelzw:trusted-publishing

Conversation

@pavelzw

@pavelzw pavelzw commented Jun 24, 2026

Copy link
Copy Markdown
Member

Description

Fixes #{issue}

How Has This Been Tested?

⚠️ not at all

we would need to add this repo to the crates.io settings

needs a release to try it out...

AI Disclosure

  • This PR contains AI-generated content.
    • I have tested any AI-generated content in my PR.
    • I take responsibility for any AI-generated content in my PR.

Tools: codex

move this repo to trusted publishing https://rust-lang.github.io/rfcs/3691-trusted-publishing-cratesio.html#example-github-actions-workflow

...
why did you create a python script instead of using rust-lang/crates-io-auth-action?

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added sufficient tests to cover my changes.

Comment on lines +51 to +52
id: crates-io-auth
uses: rust-lang/crates-io-auth-action@c6f97d42243bad5fab37ca0427f495c86d5b1a18 # v1.0.5

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this workflow already uses id-token: write because of octo-sts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant