File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 77 description : ' JSON string defining the dynamic matrices for all jobs'
88 required : true
99 type : string
10- ref :
11- description : ' Commit SHA to check out. Use PR head SHA to report as PR check.'
10+ checkout_ref :
11+ description : ' Commit SHA to check out. This is the commit where the repo will be checked out.'
12+ required : true
13+ type : string
14+ source_sha :
15+ description : ' Source SHA to use for the check run'
1216 required : true
1317 type : string
1418 name :
4145 owner: context.repo.owner,
4246 repo: context.repo.repo,
4347 name: 'Test Worker POC - ${{ inputs.name }}',
44- head_sha: '${{ inputs.ref }}',
48+ head_sha: '${{ inputs.source_sha }}',
4549 status: 'in_progress',
4650 details_url: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}',
4751 output: {
6165 - name : Check out repository
6266 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
6367 with :
64- ref : ${{ inputs.ref }}
68+ ref : ${{ inputs.checkout_ref }}
6569
6670 - name : Set up Python
6771 uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
9599 - name : Check out repository
96100 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
97101 with :
98- ref : ${{ inputs.ref }}
102+ ref : ${{ inputs.checkout_ref }}
99103
100104 - name : Run Generic Task
101105 run : |
You can’t perform that action at this time.
0 commit comments