Skip to content

Commit 4c7c7d6

Browse files
committed
Remove duplicate permissions
1 parent 6c4cba4 commit 4c7c7d6

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

.github/workflows/doc-build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,8 @@ jobs:
8585
if: github.repository == 'pytorch/executorch' && github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
8686
permissions:
8787
contents: write
88-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
89-
permissions:
90-
id-token: write
9188
contents: read
89+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
9290
with:
9391
repository: pytorch/executorch
9492
download-artifact: docs

.github/workflows/pull.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,6 @@ jobs:
366366

367367
unittest-arm:
368368
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
369-
permissions:
370-
id-token: write
371-
contents: read
372369
permissions:
373370
id-token: write
374371
contents: read

.github/workflows/trunk.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,6 @@ jobs:
135135
test-arm-backend-delegation:
136136
name: test-arm-backend-delegation
137137
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
138-
permissions:
139-
id-token: write
140-
contents: read
141138
permissions:
142139
id-token: write
143140
contents: read
@@ -168,9 +165,6 @@ jobs:
168165
test-arm-reference-delegation:
169166
name: test-arm-reference-delegation
170167
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
171-
permissions:
172-
id-token: write
173-
contents: read
174168
permissions:
175169
id-token: write
176170
contents: read

0 commit comments

Comments
 (0)