|
65 | 65 | name: Lint |
66 | 66 | runs-on: ubuntu-22.04 |
67 | 67 | permissions: |
68 | | - id-token: write |
| 68 | + id-token: write # for OIDC authentication |
69 | 69 | steps: |
70 | 70 | - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 |
71 | 71 | - name: Get Secrets from Azure Key Vault |
@@ -106,6 +106,8 @@ jobs: |
106 | 106 | unit-test: |
107 | 107 | name: Unit Tests |
108 | 108 | runs-on: ubuntu-22.04 |
| 109 | + permissions: |
| 110 | + id-token: write # for OIDC authentication |
109 | 111 | steps: |
110 | 112 | - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 |
111 | 113 | - name: Get Secrets from Azure Key Vault |
@@ -139,6 +141,8 @@ jobs: |
139 | 141 | race-condition-test: |
140 | 142 | name: Unit tests with race condition detection |
141 | 143 | runs-on: ubuntu-22.04 |
| 144 | + permissions: |
| 145 | + id-token: write # for OIDC authentication |
142 | 146 | steps: |
143 | 147 | - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 |
144 | 148 | - name: Get Secrets from Azure Key Vault |
@@ -167,6 +171,8 @@ jobs: |
167 | 171 | build-unsigned-snapshot: |
168 | 172 | name: Build Unsigned Snapshot |
169 | 173 | runs-on: ubuntu-22.04 |
| 174 | + permissions: |
| 175 | + id-token: write # for OIDC authentication |
170 | 176 | steps: |
171 | 177 | - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 |
172 | 178 | with: |
@@ -273,6 +279,8 @@ jobs: |
273 | 279 | name: Upgrade Tests |
274 | 280 | needs: build-unsigned-snapshot |
275 | 281 | runs-on: ubuntu-22.04 |
| 282 | + permissions: |
| 283 | + id-token: write # for OIDC authentication |
276 | 284 | strategy: |
277 | 285 | matrix: |
278 | 286 | container: |
@@ -334,6 +342,8 @@ jobs: |
334 | 342 | needs: build-unsigned-snapshot |
335 | 343 | if: ${{ !github.event.pull_request.head.repo.fork && !startsWith(github.head_ref, 'dependabot-') }} |
336 | 344 | runs-on: ubuntu-22.04 |
| 345 | + permissions: |
| 346 | + id-token: write # for OIDC authentication |
337 | 347 | strategy: |
338 | 348 | matrix: |
339 | 349 | container: |
@@ -403,6 +413,8 @@ jobs: |
403 | 413 | needs: build-unsigned-snapshot |
404 | 414 | if: ${{ !github.event.pull_request.head.repo.fork && !startsWith(github.head_ref, 'dependabot-') }} |
405 | 415 | runs-on: ubuntu-22.04 |
| 416 | + permissions: |
| 417 | + id-token: write # for OIDC authentication |
406 | 418 | strategy: |
407 | 419 | matrix: |
408 | 420 | container: |
@@ -661,6 +673,7 @@ jobs: |
661 | 673 | runs-on: ubuntu-22.04 |
662 | 674 | needs: build-unsigned-snapshot |
663 | 675 | permissions: |
| 676 | + id-token: write # for OIDC authentication |
664 | 677 | contents: write # Needed for pushing benchmark results to github branch |
665 | 678 | steps: |
666 | 679 | - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 |
@@ -707,6 +720,7 @@ jobs: |
707 | 720 | name: Load Tests |
708 | 721 | if: ${{ !github.event.pull_request.head.repo.fork && !startsWith(github.head_ref, 'dependabot-') }} |
709 | 722 | permissions: |
| 723 | + id-token: write # for OIDC authentication |
710 | 724 | contents: write # Needed for pushing benchmark results to github branch |
711 | 725 | runs-on: ubuntu-22.04 |
712 | 726 | needs: build-unsigned-snapshot |
|
0 commit comments