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 16
16
17
17
jobs :
18
18
assign :
19
+ permissions :
20
+ contents : read
21
+ pull-requests : write
19
22
runs-on : ubuntu-latest
20
23
steps :
21
24
- name : Checkout
Original file line number Diff line number Diff line change 27
27
28
28
build :
29
29
needs : generate-matrix
30
+ permissions :
31
+ id-token : write
32
+ contents : read
30
33
strategy :
31
34
fail-fast : false
32
35
matrix :
51
54
package-name : ${{ matrix.package-name }}
52
55
smoke-test-script : ${{ matrix.smoke-test-script }}
53
56
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 }}
57
57
58
58
tests-py-torchscript-fe :
59
59
name : Test torchscript frontend [Python]
Original file line number Diff line number Diff line change @@ -10,11 +10,13 @@ on: [pull_request_target]
10
10
11
11
jobs :
12
12
label :
13
-
13
+ permissions :
14
+ contents : read
15
+ pull-requests : write
14
16
runs-on : ubuntu-latest
15
17
16
18
steps :
17
- - uses : actions/labeler@v2
19
+ - uses : actions/labeler@v4
18
20
with :
19
21
repo-token : " ${{ secrets.GITHUB_TOKEN }}"
20
22
configuration-path : .github/pr-labels.yml
Original file line number Diff line number Diff line change 67
67
CU_VERSION : ${{ matrix.desired_cuda }}
68
68
SCRIPT : ${{ inputs.script }}
69
69
RUNNER_TEST_RESULTS_DIR : /tmp/test_results
70
+ ARCH : ${{ inputs.architecture }}
70
71
name : ${{ inputs.job-name }}-${{ matrix.desired_cuda }}
71
72
runs-on : ${{ matrix.validation_runner }}
72
73
container :
@@ -100,6 +101,8 @@ jobs:
100
101
ref : ${{ inputs.ref }}
101
102
setup-miniconda : ${{ inputs.setup-miniconda }}
102
103
python-version : ${{ env.PYTHON_VERSION }}
104
+ cuda-version : ${{ env.CU_VERSION }}
105
+ arch : ${{ env.ARCH }}
103
106
- name : Run Pre-Script with Caching
104
107
if : ${{ inputs.pre-script != '' }}
105
108
uses : ./test-infra/.github/actions/run-script-with-cache
You can’t perform that action at this time.
0 commit comments