File tree Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 1616
1717jobs :
1818 assign :
19+ permissions :
20+ contents : read
21+ pull-requests : write
1922 runs-on : ubuntu-latest
2023 steps :
2124 - name : Checkout
Original file line number Diff line number Diff line change 2727
2828 build :
2929 needs : generate-matrix
30+ permissions :
31+ id-token : write
32+ contents : read
3033 strategy :
3134 fail-fast : false
3235 matrix :
5154 package-name : ${{ matrix.package-name }}
5255 smoke-test-script : ${{ matrix.smoke-test-script }}
5356 trigger-event : ${{ github.event_name }}
54- secrets :
55- AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID : ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}
56- AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY : ${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}
5757
5858 tests-py-torchscript-fe :
5959 name : Test torchscript frontend [Python]
Original file line number Diff line number Diff line change @@ -10,11 +10,13 @@ on: [pull_request_target]
1010
1111jobs :
1212 label :
13-
13+ permissions :
14+ contents : read
15+ pull-requests : write
1416 runs-on : ubuntu-latest
1517
1618 steps :
17- - uses : actions/labeler@v2
19+ - uses : actions/labeler@v4
1820 with :
1921 repo-token : " ${{ secrets.GITHUB_TOKEN }}"
2022 configuration-path : .github/pr-labels.yml
Original file line number Diff line number Diff line change 6767 CU_VERSION : ${{ matrix.desired_cuda }}
6868 SCRIPT : ${{ inputs.script }}
6969 RUNNER_TEST_RESULTS_DIR : /tmp/test_results
70+ ARCH : ${{ inputs.architecture }}
7071 name : ${{ inputs.job-name }}-${{ matrix.desired_cuda }}
7172 runs-on : ${{ matrix.validation_runner }}
7273 container :
@@ -100,6 +101,8 @@ jobs:
100101 ref : ${{ inputs.ref }}
101102 setup-miniconda : ${{ inputs.setup-miniconda }}
102103 python-version : ${{ env.PYTHON_VERSION }}
104+ cuda-version : ${{ env.CU_VERSION }}
105+ arch : ${{ env.ARCH }}
103106 - name : Run Pre-Script with Caching
104107 if : ${{ inputs.pre-script != '' }}
105108 uses : ./test-infra/.github/actions/run-script-with-cache
You can’t perform that action at this time.
0 commit comments