Skip to content

Commit 1fa6a3b

Browse files
committed
move permissions to job
1 parent fc8dea7 commit 1fa6a3b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test_cc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ jobs:
103103
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
104104
with:
105105
use_oidc: true
106+
permissions:
107+
id-token: write
106108
pass:
107109
name: Pass testing C++
108110
needs: [testcc]
@@ -113,5 +115,3 @@ jobs:
113115
uses: re-actors/alls-green@release/v1
114116
with:
115117
jobs: ${{ toJSON(needs) }}
116-
permissions:
117-
id-token: write

.github/workflows/test_python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ jobs:
8181
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
8282
with:
8383
use_oidc: true
84+
permissions:
85+
id-token: write
8486
update_durations:
8587
name: Combine and update integration test durations
8688
runs-on: ubuntu-22.04
@@ -116,5 +118,3 @@ jobs:
116118
uses: re-actors/alls-green@release/v1
117119
with:
118120
jobs: ${{ toJSON(needs) }}
119-
permissions:
120-
id-token: write

0 commit comments

Comments
 (0)