Skip to content

Commit 8af4416

Browse files
authored
Adding permissions to linux job v2
1 parent 7e01831 commit 8af4416

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: .github/workflows/run-readme-pr-linuxaarch64.yml

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
jobs:
1111
test-readme-cpu:
1212
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
13+
permissions:
14+
id-token: write
15+
contents: read
1316
with:
1417
runner: linux.arm64.m7g.4xlarge
1518
docker-image: "pytorch/manylinux2_28_aarch64-builder:cuda12.6"
@@ -35,6 +38,9 @@ jobs:
3538
3639
test-quantization-cpu:
3740
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
41+
permissions:
42+
id-token: write
43+
contents: read
3844
with:
3945
runner: linux.arm64.2xlarge
4046
docker-image: "pytorch/manylinux2_28_aarch64-builder:cpu-aarch64-main"

0 commit comments

Comments
 (0)