Skip to content

Commit 8bdbc24

Browse files
authored
Update release.yml with permissions for OIDC (#303)
Added permissions for OIDC handshake and content access.
1 parent 622f04b commit 8bdbc24

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
tags:
66
- "v*"
77

8+
permissions:
9+
id-token: write # needed to be able to do OIDC handshake for NuGet Trusted Publishing
10+
contents: read
11+
812
jobs:
913
release:
1014
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)