Skip to content

Commit 3d98f03

Browse files
committed
ci: allow NPM_TOKEN fallback when trusted publishing is unavailable
1 parent 574094f commit 3d98f03

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ jobs:
6262
title: "ci: release packages"
6363
env:
6464
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65-
# NPM_TOKEN is not needed with Trusted Publishing (OIDC)
65+
# Falls back to Trusted Publishing (OIDC) when the secret is unset.
66+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6667

6768
- name: Resolve Pythinker Code native release
6869
if: steps.changesets.outputs.published == 'true'

0 commit comments

Comments
 (0)