Skip to content

Commit 06a40d0

Browse files
authored
Update release.yml
1 parent fb67f61 commit 06a40d0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ on:
88
release:
99
types: [published]
1010

11-
permissions:
12-
id-token: write # Required for OIDC
13-
1411
jobs:
1512
init:
1613
uses: ./.github/workflows/00-init.yml
@@ -43,6 +40,8 @@ jobs:
4340
uses: ./.github/workflows/03-publish-packages.yml
4441
needs: [lint, build, get-publish-version]
4542
secrets: inherit
43+
permissions:
44+
id-token: write # Required for OIDC
4645
with:
4746
release: ${{ needs.get-publish-version.outputs.release }}
4847
preRelease: ${{ needs.get-publish-version.outputs.preRelease }}

0 commit comments

Comments
 (0)