Skip to content

Commit d0bf444

Browse files
atalmanfacebook-github-bot
authored andcommitted
Fix linux_job_v2 after pytorch/test-infra#6104 (#2692)
Summary: Same as pytorch/executorch#7731 Pull Request resolved: #2692 Reviewed By: PaulZhang12 Differential Revision: D68442367 Pulled By: atalman fbshipit-source-id: 6693cdab50a0748997b955958c65b876dc6f2dec
1 parent 9dfdfb8 commit d0bf444

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/unittest_ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ jobs:
6464
python-tag: "py312"
6565
cuda-tag: "cu124"
6666
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
67+
permissions:
68+
id-token: write
69+
contents: read
6770
with:
6871
runner: ${{ matrix.os }}
6972
timeout: 30

.github/workflows/unittest_ci_cpu.yml

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ jobs:
3636
python-version: '3.12'
3737
python-tag: "py312"
3838
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
39+
permissions:
40+
id-token: write
41+
contents: read
3942
with:
4043
runner: ${{ matrix.os }}
4144
timeout: 15

0 commit comments

Comments
 (0)