Skip to content

Commit feef0d3

Browse files
committed
[CI] add id-token write permission for NuGet trusted publishing
1 parent 7a2a93e commit feef0d3

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/nuget-push-lagrange-core.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
jobs:
1313
nuget-push:
1414
runs-on: ubuntu-latest
15+
permissions:
16+
id-token: write
1517

1618
steps:
1719
- id: nuget-login

.github/workflows/nuget-push-lagrange-proto-codegen.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
jobs:
1313
nuget-push:
1414
runs-on: ubuntu-latest
15+
permissions:
16+
id-token: write
1517

1618
steps:
1719
- id: nuget-login

.github/workflows/nuget-push-lagrange-proto.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
jobs:
1313
nuget-push:
1414
runs-on: ubuntu-latest
15+
permissions:
16+
id-token: write
1517

1618
steps:
1719
- id: nuget-login

0 commit comments

Comments
 (0)