Commit 2ef6fdf
fix(ci): remove manual npm token setup in favor of trusted publishing and simply user experience (#104)
* fix(ci): remove manual npm token setup in favor of trusted publishing
npm trusted publishing via OIDC (id-token: write) handles authentication
without requiring a long-lived NPM_PUBLISH_TOKEN secret, eliminating the
OTP/2FA requirement that caused EOTP errors in CI.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat(ci): auto-parse version from tag in publish workflow
When workflow_dispatch is triggered on a datadog-serverless-compat/v<x.y.z>
tag, the version is parsed automatically from GITHUB_REF. The version input
is required when running on a branch, and the workflow fails with a clear
error if omitted.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f0c5407 commit 2ef6fdf
1 file changed
Lines changed: 17 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
59 | 73 | | |
60 | 74 | | |
61 | | - | |
| 75 | + | |
62 | 76 | | |
63 | 77 | | |
64 | 78 | | |
| |||
91 | 105 | | |
92 | 106 | | |
93 | 107 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | 108 | | |
98 | 109 | | |
99 | 110 | | |
| |||
0 commit comments