Skip to content

Commit fe7b3b7

Browse files
committed
Grant test build wheel workflows with correct permissions (#4870)
This needs to be add to the test workflows after #4865
1 parent b35cb82 commit fe7b3b7

7 files changed

+28
-0
lines changed

.github/workflows/test_build_wheels_linux_aarch64_without_cuda.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- tools/scripts/generate_binary_build_matrix.py
1212
workflow_dispatch:
1313

14+
permissions:
15+
id-token: write
16+
contents: read
17+
1418
jobs:
1519
generate-matrix:
1620
uses: ./.github/workflows/generate_binary_build_matrix.yml

.github/workflows/test_build_wheels_linux_with_cuda.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- tools/scripts/generate_binary_build_matrix.py
1212
workflow_dispatch:
1313

14+
permissions:
15+
id-token: write
16+
contents: read
17+
1418
jobs:
1519
generate-matrix:
1620
uses: ./.github/workflows/generate_binary_build_matrix.yml

.github/workflows/test_build_wheels_linux_without_cuda.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- tools/scripts/generate_binary_build_matrix.py
1212
workflow_dispatch:
1313

14+
permissions:
15+
id-token: write
16+
contents: read
17+
1418
jobs:
1519
generate-matrix:
1620
uses: ./.github/workflows/generate_binary_build_matrix.yml

.github/workflows/test_build_wheels_m1.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
- tools/scripts/generate_binary_build_matrix.py
1111
workflow_dispatch:
1212

13+
permissions:
14+
id-token: write
15+
contents: read
16+
1317
jobs:
1418
generate-matrix:
1519
uses: ./.github/workflows/generate_binary_build_matrix.yml

.github/workflows/test_build_wheels_macos.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
- tools/scripts/generate_binary_build_matrix.py
1111
workflow_dispatch:
1212

13+
permissions:
14+
id-token: write
15+
contents: read
16+
1317
jobs:
1418
generate-matrix:
1519
uses: ./.github/workflows/generate_binary_build_matrix.yml

.github/workflows/test_build_wheels_windows_with_cuda.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
- tools/scripts/generate_binary_build_matrix.py
1111
workflow_dispatch:
1212

13+
permissions:
14+
id-token: write
15+
contents: read
16+
1317
jobs:
1418
generate-matrix:
1519
uses: ./.github/workflows/generate_binary_build_matrix.yml

.github/workflows/test_build_wheels_windows_without_cuda.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
- tools/scripts/generate_binary_build_matrix.py
1111
workflow_dispatch:
1212

13+
permissions:
14+
id-token: write
15+
contents: read
16+
1317
jobs:
1418
generate-matrix:
1519
uses: ./.github/workflows/generate_binary_build_matrix.yml

0 commit comments

Comments
 (0)