You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `version-strategy` | `manual` | One of `manual`, `verify`. `manual` is the default: you bump, you tag, the action publishes. `verify` parses conventional commits and fails if your bump is smaller than what the commits imply. For fully automatic versioning, use the companion `auto-release.yml` workflow instead. |
270
282
| `strict-action-pins` | `true` | If `true` (the default), **verify-action-pins** fails the release on any unpinned `uses:` reference in `.github/workflows`. Set to `false` for warn-only mode. `forgesworn/anvil` is exempt by name. |
271
-
| `reproducibility-mode` | `strict` | One of `strict`, `warn`, `off`. `strict` blocks the release if the two parallel builds produce different sha256s. `warn` logs the mismatch but publishes. `off` skips the second build entirely (v0.3 single-runner behaviour). |
283
+
| `reproducibility-mode` | `strict` | Reusable workflow only. One of `strict`, `warn`, `off`. `strict` blocks the release if the two parallel builds produce different sha256s. `warn` logs the mismatch but publishes. `off` skips the second build entirely (v0.3 single-runner behaviour). The composite action silently ignores this input (it cannot run the two-build DAG; see "Advanced: composite action directly"). |
| `debug` | `false` | If `true`, run a diagnostic step before publish that dumps npm version, redacted `.npmrc`, OIDC env vars, and `npm config list`. Flip this on when debugging trusted-publisher errors -- see "Trusted publisher caveat". Does not print token values. |
274
286
@@ -277,6 +289,33 @@ no reproducibility check). Use the reusable workflow as the default.
277
289
| Secret | When needed |
278
290
|---|---|
279
291
| `JSR_TOKEN` | Only if `jsr.json` exists. JSR does not yet support OIDC. |
292
+
| `GH_TOKEN` | Only for `auto-release.yml` when you want the auto-created Release to trigger `release.yml`. See "Version strategy -> Auto". |
293
+
294
+
### JSR_TOKEN setup
295
+
296
+
If your package publishes to JSR alongside npm, add a `jsr.json` in the
297
+
repo root and provide a `JSR_TOKEN` secret.
298
+
299
+
1. Generate the token at [jsr.io/account/tokens](https://jsr.io/account/tokens).
300
+
Choose **Personal access token** with the `publish` scope for the
301
+
specific package (or `publish` on the whole org). Short-lived tokens
302
+
are preferred -- rotate whenever convenient.
303
+
2. Add the token as a repo secret named `JSR_TOKEN` under
0 commit comments