Skip to content

Commit 1606ffa

Browse files
committed
πŸ’š Add permissions configuration to build and release workflows
1 parent 7528aae commit 1606ffa

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

β€Ž.github/workflows/build.ymlβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99
branches:
1010
- '*'
1111

12+
permissions:
13+
contents: read
14+
actions: read
15+
id-token: write
16+
1217
env:
1318
DOTNET_NOLOGO: true
1419

β€Ž.github/workflows/release.ymlβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
- "[0-9]+.[0-9]+.[0-9]+"
88
- "[0-9]+.[0-9]+.[0-9]+-preview"
99

10+
permissions:
11+
contents: read
12+
actions: read
13+
id-token: write
14+
1015
env:
1116
DOTNET_NOLOGO: true
1217
NuGetDirectory: ${{ github.workspace}}/nuget/release

0 commit comments

Comments
Β (0)