File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 11name : Publish Packages
22
3- on : workflow_dispatch
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ dry_run :
7+ description : Skip actual publish
8+ required : false
9+ type : boolean
10+ default : true
411
512permissions :
613 contents : read
1522 permissions :
1623 contents : write # to be able to publish a GitHub release
1724 issues : write # to be able to comment on released issues
18- pull-requests : write # to be able to comment on released pull requests
1925 id-token : write # to enable use of OIDC for npm provenance
2026 attestations : write # necessary to persist the attestation
2127 needs : [checks]
4147 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4248 NPM_TOKEN : ${{ secrets.NODE_AUTH_TOKEN }}
4349 NPM_CONFIG_PROVENANCE : true
44- run : npm exec multi-semantic-release
50+ run : npm exec multi-semantic-release --dry-run=${{ github.event.inputs.dry_run }}
4551
4652 - name : Remove node_modules
4753 run : |
You can’t perform that action at this time.
0 commit comments