File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 release :
1010 types : [published]
1111
12- permissions :
13- contents : read
14-
1512jobs :
1613 publish-design-tokens-npm-next :
1714 name : Publish @bcgov/design-tokens@next to npm
1815 # Publish a `next` version to npm on PR merge to main branch.
1916 if : ${{ github.event.pull_request.merged == true && github.repository == 'bcgov/design-system' }}
2017 permissions :
18+ contents : read
2119 id-token : write # Required for OIDC
2220 runs-on : ubuntu-latest
2321
7977 # Publish a `next` version to GitHub Packages on PR merge to main branch.
8078 if : ${{ github.event.pull_request.merged == true && github.repository == 'bcgov/design-system' }}
8179 permissions :
80+ contents : read
8281 packages : write
8382 runs-on : ubuntu-latest
8483
@@ -141,6 +140,7 @@ jobs:
141140 # @bcgov/design-tokens@v1.2.3
142141 if : ${{ github.event_name == 'release' && contains(github.event.release.tag_name, 'bcgov/design-tokens') }}
143142 permissions :
143+ contents : read
144144 id-token : write # Required for OIDC
145145 runs-on : ubuntu-latest
146146
@@ -181,6 +181,7 @@ jobs:
181181 # @bcgov/design-tokens@v1.2.3
182182 if : ${{ github.event_name == 'release' && contains(github.event.release.tag_name, 'bcgov/design-tokens') }}
183183 permissions :
184+ contents : read
184185 packages : write
185186 runs-on : ubuntu-latest
186187
You can’t perform that action at this time.
0 commit comments