Commit f682b23
ci: migrate canary release to npm trusted publishing (OIDC)
Replace NPM_AUTH_TOKEN secret with OIDC-based trusted publishing,
matching the pattern already used in release.yaml:
- Add id-token: write permission
- Add registry-url to setup-node (configures .npmrc for OIDC)
- Remove manual .npmrc token injection and NPM_AUTH_TOKEN secret
Requires trusted publisher entries on npmjs.com for canary-release.yml
for both docusaurus-plugin-openapi-docs and docusaurus-theme-openapi-docs.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 7fd9ecc commit f682b23
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | | - | |
43 | | - | |
0 commit comments