File tree Expand file tree Collapse file tree 4 files changed +23
-1
lines changed Expand file tree Collapse file tree 4 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 2121            gpu-arch-version : " 11.8" 
2222      fail-fast : false 
2323    uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main 
24+     permissions :
25+       id-token : write 
26+       contents : read 
2427    with :
2528      repository : pytorch/vision 
2629      runner : ${{ matrix.runner }} 
Original file line number Diff line number Diff line change 1515jobs :
1616  build :
1717    uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main 
18+     permissions :
19+       id-token : write 
20+       contents : read 
1821    with :
1922      repository : pytorch/vision 
2023      upload-artifact : docs 
7982    needs : build 
8083    if : github.repository == 'pytorch/vision' && github.event_name == 'push' && 
8184        ((github.ref_type == 'branch' && github.ref_name == 'main') || github.ref_type == 'tag') 
85+     uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main 
8286    permissions :
87+       id-token : write 
8388      contents : write 
84-     uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main 
8589    with :
8690      repository : pytorch/vision 
8791      download-artifact : docs 
Original file line number Diff line number Diff line change 2424            gpu-arch-version : " 11.8" 
2525      fail-fast : false 
2626    uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main 
27+     permissions :
28+       id-token : write 
29+       contents : read 
2730    with :
2831      repository : pytorch/vision 
2932      runner : ${{ matrix.runner }} 
Original file line number Diff line number Diff line change 2727            gpu-arch-version : " 11.8" 
2828      fail-fast : false 
2929    uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main 
30+     permissions :
31+       id-token : write 
32+       contents : read 
3033    with :
3134      repository : pytorch/vision 
3235      runner : ${{ matrix.runner }} 
8588            gpu-arch-version : " 11.8" 
8689      fail-fast : false 
8790    uses : pytorch/test-infra/.github/workflows/windows_job.yml@main 
91+     permissions :
92+       id-token : write 
93+       contents : read 
8894    with :
8995      repository : pytorch/vision 
9096      runner : ${{ matrix.runner }} 
@@ -105,6 +111,9 @@ jobs:
105111
106112onnx :
107113    uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main 
114+     permissions :
115+       id-token : write 
116+       contents : read 
108117    with :
109118      repository : pytorch/vision 
110119      test-infra-ref : main 
@@ -136,6 +145,9 @@ jobs:
136145
137146unittests-extended :
138147    uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main 
148+     permissions :
149+       id-token : write 
150+       contents : read 
139151    if : contains(github.event.pull_request.labels.*.name, 'run-extended') 
140152    with :
141153      repository : pytorch/vision 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments