Skip to content

Commit

Permalink
fix: inherit secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Jul 30, 2024
1 parent 1f4e17a commit 7e9dbf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Publish Package to npmjs
on:
workflow_call:
secrets: inherit
secrets:
- NPM_TOKEN
jobs:
publish-npm:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
jobs:
npm_publish:
name: Publish packages to npmjs
secrets: inherit
permissions:
id-token: write
packages: write
Expand Down

0 comments on commit 7e9dbf9

Please sign in to comment.