Skip to content

Commit 1d84013

Browse files
committed
add back write perms needed for Azure interaction
1 parent 949b625 commit 1d84013

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

.github/workflows/assertion.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
runs-on: ubuntu-22.04
2727
if: ${{ !github.event.pull_request.head.repo.fork }}
2828
permissions:
29+
id-token: write # for OIDC authentication
2930
contents: read # Needed to download artifacts
3031
strategy:
3132
matrix:

.github/workflows/ci.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
name: Lint
6666
runs-on: ubuntu-22.04
6767
permissions:
68-
id-token: write
68+
id-token: write # for OIDC authentication
6969
steps:
7070
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
7171
- name: Get Secrets from Azure Key Vault
@@ -106,6 +106,8 @@ jobs:
106106
unit-test:
107107
name: Unit Tests
108108
runs-on: ubuntu-22.04
109+
permissions:
110+
id-token: write # for OIDC authentication
109111
steps:
110112
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
111113
- name: Get Secrets from Azure Key Vault
@@ -139,6 +141,8 @@ jobs:
139141
race-condition-test:
140142
name: Unit tests with race condition detection
141143
runs-on: ubuntu-22.04
144+
permissions:
145+
id-token: write # for OIDC authentication
142146
steps:
143147
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
144148
- name: Get Secrets from Azure Key Vault
@@ -167,6 +171,8 @@ jobs:
167171
build-unsigned-snapshot:
168172
name: Build Unsigned Snapshot
169173
runs-on: ubuntu-22.04
174+
permissions:
175+
id-token: write # for OIDC authentication
170176
steps:
171177
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
172178
with:
@@ -273,6 +279,8 @@ jobs:
273279
name: Upgrade Tests
274280
needs: build-unsigned-snapshot
275281
runs-on: ubuntu-22.04
282+
permissions:
283+
id-token: write # for OIDC authentication
276284
strategy:
277285
matrix:
278286
container:
@@ -334,6 +342,8 @@ jobs:
334342
needs: build-unsigned-snapshot
335343
if: ${{ !github.event.pull_request.head.repo.fork && !startsWith(github.head_ref, 'dependabot-') }}
336344
runs-on: ubuntu-22.04
345+
permissions:
346+
id-token: write # for OIDC authentication
337347
strategy:
338348
matrix:
339349
container:
@@ -403,6 +413,8 @@ jobs:
403413
needs: build-unsigned-snapshot
404414
if: ${{ !github.event.pull_request.head.repo.fork && !startsWith(github.head_ref, 'dependabot-') }}
405415
runs-on: ubuntu-22.04
416+
permissions:
417+
id-token: write # for OIDC authentication
406418
strategy:
407419
matrix:
408420
container:
@@ -661,6 +673,7 @@ jobs:
661673
runs-on: ubuntu-22.04
662674
needs: build-unsigned-snapshot
663675
permissions:
676+
id-token: write # for OIDC authentication
664677
contents: write # Needed for pushing benchmark results to github branch
665678
steps:
666679
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
@@ -707,6 +720,7 @@ jobs:
707720
name: Load Tests
708721
if: ${{ !github.event.pull_request.head.repo.fork && !startsWith(github.head_ref, 'dependabot-') }}
709722
permissions:
723+
id-token: write # for OIDC authentication
710724
contents: write # Needed for pushing benchmark results to github branch
711725
runs-on: ubuntu-22.04
712726
needs: build-unsigned-snapshot

.github/workflows/upload-release-assets.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
runs-on: ubuntu-22.04
5353
needs: [vars]
5454
permissions:
55+
id-token: write # for OIDC authentication
5556
contents: write # Needed for uploading release assets to GitHub
5657
steps:
5758
- name: Checkout Repository

0 commit comments

Comments
 (0)