File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 7
7
default : ' diffusers/diffusers-pytorch-cuda'
8
8
description : ' Name of the Docker image'
9
9
required : true
10
- branch :
11
- description : ' PR Branch to test on'
10
+ pr_number :
11
+ description : ' PR number to test on'
12
12
required : true
13
13
test :
14
14
description : ' Tests to run (e.g.: `tests/models`).'
59
59
- name : Checkout PR branch
60
60
uses : actions/checkout@v4
61
61
with :
62
- repository : ${{ github.event.pull_request.head.repo.full_name }}
63
- ref : ${{ github.event.pull_request.head.ref }}
64
- fetch-depth : 0
65
-
66
- - name : Debug PR Info
67
- run : |
68
- echo "PR Repository: ${{ github.event.pull_request.head.repo.full_name }}"
69
- echo "PR Branch: ${{ github.event.pull_request.head.ref }}"
70
-
62
+ ref : refs/pull/${{ inputs.pr_number }}/head
71
63
72
64
- name : Install pytest
73
65
run : |
You can’t perform that action at this time.
0 commit comments