Skip to content

Commit a5c47f1

Browse files
authored
fix: persisting a temporary token with fewer privileges
1 parent cff1bf1 commit a5c47f1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
environment: production
2525
steps:
2626
- uses: actions/checkout@v6
27-
27+
with:
28+
persist-credentials: false
29+
2830
# Do NOT set registry-url here: it writes an .npmrc that conflicts
2931
# with semantic-release's OIDC authentication.
3032
# Node 26 bundles npm >= 11.5.1, required for OIDC trusted publishing.

0 commit comments

Comments
 (0)