We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d764b85 commit c66398aCopy full SHA for c66398a
.github/workflows/_publish.yml
@@ -15,7 +15,7 @@ on:
15
secrets:
16
registry_token:
17
description: The package registry token.
18
- required: true
+ required: false
19
20
jobs:
21
publish:
.github/workflows/publish.yml
@@ -47,11 +47,12 @@ jobs:
47
name: npm
48
uses: ./.github/workflows/_publish.yml
49
needs: build
50
+ permissions:
51
+ contents: read
52
+ id-token: write
53
with:
54
artifact_name: ${{ needs.build.outputs.artifact_name }}
55
registry_url: https://registry.npmjs.org
- secrets:
- registry_token: ${{ secrets.NPM_TOKEN }}
56
github:
57
name: GitHub Packages
58
0 commit comments