mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Zip and upload artifacts while run_test is running Upgrade boto3 because I get errors about not having `botocore.vendored.six.move` if I don't Pull Request resolved: https://github.com/pytorch/pytorch/pull/125799 Approved by: https://github.com/huydhn
33 lines
900 B
YAML
33 lines
900 B
YAML
name: Update PyTorch Labels in S3
|
|
|
|
on:
|
|
label:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: 1
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
update-labels-in-S3:
|
|
runs-on: ubuntu-22.04
|
|
if: ${{ github.repository == 'pytorch/pytorch' }}
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
steps:
|
|
- name: Checkout PyTorch
|
|
uses: pytorch/pytorch/.github/actions/checkout-pytorch@main
|
|
with:
|
|
fetch-depth: 1
|
|
submodules: false
|
|
- name: configure aws credentials
|
|
id: aws_creds
|
|
uses: aws-actions/configure-aws-credentials@v4
|
|
with:
|
|
role-to-assume: arn:aws:iam::308535385114:role/gha_workflow_update_pytorch_labels
|
|
aws-region: us-east-1
|
|
- name: Update PyTorch labels list in S3
|
|
run: |
|
|
python3 -m pip install boto3==1.35.42
|
|
.github/scripts/export_pytorch_labels.py pytorch pytorch
|