File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' eslint-config-sheriff ' : minor
3+ ' @sherifforg/create-config ' : minor
4+ ' @sherifforg/cli ' : minor
5+ ---
6+
7+ fix: Fix CI workflow for OICD trusted publishing workflow
8+ Fixes #436
Original file line number Diff line number Diff line change 66
77concurrency : ${{ github.workflow }}-${{ github.ref }}
88
9+ permissions :
10+ contents : read # for checkout
11+
912jobs :
1013 release :
1114 name : Release
1215 runs-on : ubuntu-latest
1316 permissions :
14- contents : write
15- id-token : write
16- pull-requests : write
17+ contents : write # to be able to publish a GitHub release
18+ issues : write # to be able to comment on released issues
19+ pull-requests : write # to be able to comment on released pull requests
20+ id-token : write # to be able to publish to npm using OIDC
1721 steps :
1822 - name : Checkout
1923 uses : actions/checkout@v4
2529 uses : actions/setup-node@v4
2630 with :
2731 node-version-file : package.json
28- cache : ' pnpm'
32+ cache : " pnpm"
2933 - name : Install dependencies
3034 run : pnpm install
3135 - name : Create Release Pull Request or Publish to npm
Original file line number Diff line number Diff line change 118118 "node" : " >=22.21.1"
119119 },
120120 "publishConfig" : {
121- "access" : " public"
121+ "access" : " public" ,
122+ "provenance" : true ,
123+ "registry" : " https://registry.npmjs.org/" ,
124+ "tag" : " latest"
122125 }
123126}
Original file line number Diff line number Diff line change 6969 "node" : " >=22.21.1"
7070 },
7171 "publishConfig" : {
72- "access" : " public"
72+ "access" : " public" ,
73+ "provenance" : true ,
74+ "registry" : " https://registry.npmjs.org/" ,
75+ "tag" : " latest"
7376 }
7477}
Original file line number Diff line number Diff line change 7777 "node" : " >=22.21.1"
7878 },
7979 "publishConfig" : {
80- "access" : " public"
80+ "access" : " public" ,
81+ "provenance" : true ,
82+ "registry" : " https://registry.npmjs.org/" ,
83+ "tag" : " latest"
8184 }
8285}
You can’t perform that action at this time.
0 commit comments