8000 The permission id-token write needs to be set on rocm-test callers (#… · pytorch/pytorch@80a1b20 · GitHub
[go: up one dir, main page]

Skip to content

Commit 80a1b20

Browse files
huydhnatalman
authored andcommitted
The permission id-token write needs to be set on rocm-test callers (#117422)
All these workflows lack the necessary permission to run `_rocm-test` job after #117160, for example https://github.com/pytorch/pytorch/actions/runs/7508520071 Confirm that trunk is back https://github.com/pytorch/pytorch/actions/runs/7508830196. Other workflows would be the same, i.e. rocm https://github.com/pytorch/pytorch/actions/runs/7508830137/job/20444989127. Pull Request resolved: #117422 Approved by: https://github.com/atalman
1 parent e468f08 commit 80a1b20

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.github/workflows/periodic.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@ jobs:
235235
]}
236236
237237
linux-focal-rocm5_7-py3_8-test:
238+
permissions:
239+
id-token: write
240+
contents: read
238241
name: linux-focal-rocm5.7-py3.8
239242
uses: ./.github/workflows/_rocm-test.yml
240243
needs: linux-focal-rocm5_7-py3_8-build

.github/workflows/rocm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
]}
3232
3333
linux-focal-rocm5_7-py3_8-test:
34+
permissions:
35+
id-token: write
36+
contents: read
3437
name: linux-focal-rocm5.7-py3.8
3538
uses: ./.github/workflows/_rocm-test.yml
3639
needs: linux-focal-rocm5_7-py3_8-build

.github/workflows/slow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ jobs:
9898
]}
9999
100100
linux-focal-rocm5_6-py3_8-test:
101+
permissions:
102+
id-token: write
103+
contents: read
101104
name: linux-focal-rocm5.6-py3.8
102105
uses: ./.github/workflows/_rocm-test.yml
103106
needs: linux-focal-rocm5_6-py3_8-build

.github/workflows/trunk.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ jobs:
188188
]}
189189
190190
linux-focal-rocm5_7-py3_8-test:
191+
permissions:
192+
id-token: write
193+
contents: read
191194
name: linux-focal-rocm5.7-py3.8
192195
uses: ./.github/workflows/_rocm-test.yml
193196
needs: linux-focal-rocm5_7-py3_8-build

0 commit comments

Comments
 (0)
0