Skip to content

Commit 08901ad

Browse files
authored
Use oidc for wheel workflows, remove aws credentials (#3728)
1 parent 8c1ddfc commit 08901ad

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ on:
1313
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
1414
workflow_dispatch:
1515

16+
permissions:
17+
id-token: write
18+
contents: read
19+
1620
concurrency:
1721
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
1822
cancel-in-progress: true
@@ -46,6 +50,3 @@ jobs:
4650
runner-type: macos-m1-12
4751
package-name: ${{ matrix.package-name }}
4852
trigger-event: ${{ github.event_name }}
49-
secrets:
50-
AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID: ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}
51-
AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY: ${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}

0 commit comments

Comments
 (0)