3434 test-setup-linux-gcc :
3535 name : test-setup-linux-gcc
3636 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
37+ permissions :
38+ id-token : write
39+ contents : read
3740 strategy :
3841 fail-fast : false
3942 with :
5659 test-models-linux :
5760 name : test-models-linux
5861 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
62+ permissions :
63+ id-token : write
64+ contents : read
5965 needs : gather-models
6066 strategy :
6167 matrix : ${{ fromJSON(needs.gather-models.outputs.models) }}
8389 test-llama-runner-linux :
8490 name : test-llama-runner-linux
8591 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
92+ permissions :
93+ id-token : write
94+ contents : read
8695 strategy :
8796 matrix :
8897 dtype : [fp32]
@@ -122,6 +131,9 @@ jobs:
122131 test-llama-runner-linux-android :
123132 name : test-llama-runner-linux-android
124133 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
134+ permissions :
135+ id-token : write
136+ contents : read
125137 strategy :
126138 fail-fast : false
127139 with :
@@ -142,6 +154,9 @@ jobs:
142154 test-custom-ops-linux :
143155 name : test-custom-ops-linux
144156 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
157+ permissions :
158+ id-token : write
159+ contents : read
145160 strategy :
146161 fail-fast : false
147162 with :
@@ -163,6 +178,9 @@ jobs:
163178 test-selective-build-linux :
164179 name : test-selective-build-linux
165180 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
181+ permissions :
182+ id-token : write
183+ contents : read
166184 strategy :
167185 fail-fast : false
168186 with :
@@ -184,6 +202,9 @@ jobs:
184202 test-llava-runner-linux :
185203 name : test-llava-runner-linux
186204 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
205+ permissions :
206+ id-token : write
207+ contents : read
187208 strategy :
188209 fail-fast : false
189210 with :
@@ -215,6 +236,9 @@ jobs:
215236 test-quantized-aot-lib-linux :
216237 name : test-quantized-aot-lib-linux
217238 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
239+ permissions :
240+ id-token : write
241+ contents : read
218242 strategy :
219243 fail-fast : false
220244 with :
@@ -235,6 +259,9 @@ jobs:
235259 test-pybind-build-linux :
236260 name : test-pybind-build-linux
237261 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
262+ permissions :
263+ id-token : write
264+ contents : read
238265 strategy :
239266 fail-fast : false
240267 with :
@@ -261,6 +288,9 @@ jobs:
261288 test-binary-size-linux-gcc :
262289 name : test-binary-size-linux-gcc
263290 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
291+ permissions :
292+ id-token : write
293+ contents : read
264294 strategy :
265295 fail-fast : false
266296 with :
@@ -293,6 +323,9 @@ jobs:
293323 test-binary-size-linux :
294324 name : test-binary-size-linux
295325 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
326+ permissions :
327+ id-token : write
328+ contents : read
296329 strategy :
297330 fail-fast : false
298331 with :
@@ -333,6 +366,9 @@ jobs:
333366
334367 unittest-arm :
335368 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
369+ permissions :
370+ id-token : write
371+ contents : read
336372 permissions :
337373 id-token : write
338374 contents : read
@@ -366,6 +402,9 @@ jobs:
366402 test-llama-runner-qnn-linux :
367403 name : test-llama-runner-qnn-linux
368404 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
405+ permissions :
406+ id-token : write
407+ contents : read
369408 strategy :
370409 matrix :
371410 dtype : [fp32]
@@ -401,6 +440,9 @@ jobs:
401440 test-qnn-models-linux :
402441 name : test-qnn-models-linux
403442 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
443+ permissions :
444+ id-token : write
445+ contents : read
404446 strategy :
405447 fail-fast : false
406448 with :
@@ -420,6 +462,9 @@ jobs:
420462 test-phi-3-mini-runner-linux :
421463 name : test-phi-3-mini-runner-linux
422464 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
465+ permissions :
466+ id-token : write
467+ contents : read
423468 strategy :
424469 fail-fast : false
425470 with :
@@ -447,6 +492,9 @@ jobs:
447492 test-eval_llama-wikitext-linux :
448493 name : test-eval_llama-wikitext-linux
449494 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
495+ permissions :
496+ id-token : write
497+ contents : read
450498 strategy :
451499 fail-fast : false
452500 with :
@@ -474,6 +522,9 @@ jobs:
474522 test-eval_llama-mmlu-linux :
475523 name : test-eval_llama-mmlu-linux
476524 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
525+ permissions :
526+ id-token : write
527+ contents : read
477528 strategy :
478529 fail-fast : false
479530 with :
@@ -501,6 +552,9 @@ jobs:
501552 test-llama_runner_eager-linux :
502553 name : test-llama_runner_eager-linux
503554 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
555+ permissions :
556+ id-token : write
557+ contents : read
504558 strategy :
505559 fail-fast : false
506560 with :
@@ -528,6 +582,9 @@ jobs:
528582 test-mediatek-models-linux :
529583 name : test-mediatek-models-linux
530584 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
585+ permissions :
586+ id-token : write
587+ contents : read
531588 strategy :
532589 fail-fast : false
533590 with :
0 commit comments