File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 2020 runs-on : ubuntu-latest
2121 if : github.actor != 'dependabot[bot]' && !startsWith(github.ref_name, 'dependabot/')
2222 permissions :
23- contents : write # Need write permission to create branches and push changes
24- pull-requests : write # Need write permission to create PRs
25- id-token : write # Keep for potential future use
23+ contents : write # needed to create branches and push changes
24+ pull-requests : write # needed to create PRs
2625
2726 steps :
2827 - name : Harden the runner (Audit all outbound calls)
Original file line number Diff line number Diff line change 2727 - ' cli/package-lock.json'
2828
2929permissions :
30- contents : write
31- pull-requests : write
32- id-token : write # Required for OIDC to npm registry
30+ contents : read
3331
3432jobs :
3533 publish :
3634 name : Publish CLI to npm
3735 runs-on : ubuntu-latest
36+ permissions :
37+ contents : write # needed to push version bump branch and create PR
38+ pull-requests : write # needed to open the version bump PR
39+ id-token : write # required for OIDC authentication to npm registry
3840 defaults :
3941 run :
4042 working-directory : cli
You can’t perform that action at this time.
0 commit comments