Skip to content

Commit b9e72cc

Browse files
authored
Revert "Add oidc permissions to workflows" (#3744)
1 parent ff4a32c commit b9e72cc

4 files changed

+0
-16
lines changed

.github/workflows/build-wheels-m1.yml

-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ concurrency:
2121
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
2222
cancel-in-progress: true
2323

24-
permissions:
25-
id-token: write
26-
contents: read
27-
2824
jobs:
2925
generate-matrix:
3026
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.2

.github/workflows/build_wheels_aarch64_linux.yml

-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ concurrency:
2121
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
2222
cancel-in-progress: true
2323

24-
permissions:
25-
id-token: write
26-
contents: read
27-
2824
jobs:
2925
generate-matrix:
3026
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.2

.github/workflows/build_wheels_linux.yml

-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ concurrency:
2121
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
2222
cancel-in-progress: true
2323

24-
permissions:
25-
id-token: write
26-
contents: read
27-
2824
jobs:
2925
generate-matrix:
3026
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.2

.github/workflows/build_wheels_macos.yml

-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ concurrency:
2121
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
2222
cancel-in-progress: true
2323

24-
permissions:
25-
id-token: write
26-
contents: read
27-
2824
jobs:
2925
generate-matrix:
3026
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.2

0 commit comments

Comments
 (0)