Skip to content

Commit eabf770

Browse files
committed
ci: add --no-git-checks and --provenance to publish
1 parent 1040f18 commit eabf770

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Release
33
on:
44
release:
55
types: [published]
6+
workflow_dispatch: # manual trigger for re-publishing / recovery
67

78
permissions:
89
contents: read
@@ -26,4 +27,6 @@ jobs:
2627
- run: pnpm test
2728
- run: pnpm build
2829

29-
- run: pnpm publish
30+
# --no-git-checks: release/dispatch runs on a detached tag, not a branch.
31+
# --provenance: attach provenance attestation (CI/OIDC only).
32+
- run: pnpm publish --no-git-checks --provenance

0 commit comments

Comments
 (0)