Skip to content

Commit 8e28dc2

Browse files
huydhnpytorchbot
authored andcommitted
Fix linux_job_v2 after pytorch/test-infra#6104 (#7731)
(cherry picked from commit ce77ee7)
1 parent 0ede2e5 commit 8e28dc2

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/pull.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,10 @@ jobs:
332332
docker-image: executorch-ubuntu-22.04-clang12
333333

334334
unittest-arm:
335-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.6
335+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
336+
permissions:
337+
id-token: write
338+
contents: read
336339
with:
337340
runner: linux.2xlarge
338341
docker-image: executorch-ubuntu-22.04-arm-sdk

.github/workflows/trunk.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,10 @@ jobs:
131131
132132
test-arm-backend-delegation:
133133
name: test-arm-backend-delegation
134-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.6
134+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
135+
permissions:
136+
id-token: write
137+
contents: read
135138
with:
136139
runner: linux.2xlarge
137140
docker-image: executorch-ubuntu-22.04-arm-sdk
@@ -157,7 +160,10 @@ jobs:
157160
158161
test-arm-reference-delegation:
159162
name: test-arm-reference-delegation
160-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.6
163+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
164+
permissions:
165+
id-token: write
166+
contents: read
161167
with:
162168
runner: linux.2xlarge
163169
docker-image: executorch-ubuntu-22.04-arm-sdk

0 commit comments

Comments
 (0)