Set up trusted publishing
setup_trusted_publishingConnect a package to GitHub release workflow using OIDC instead of stored tokens. Runs npm trust github for npm; opens settings pages for PyPI/crates.io and returns values to save.
Instructions
Connect the package to the GitHub release workflow (OIDC, no stored tokens). npm: runs npm trust github (the user approves with 2FA) and returns the settings page as fallback. PyPI/crates.io: opens the settings page and returns the exact values to fill in. The user clicks Save.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Project folder (absolute path, or relative to the server's working directory). | |
| repo | Yes | owner/name of the GitHub repo. | |
| openBrowser | No | ||
| workflowFile | No | release.yml |