File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -35,16 +35,16 @@ runs:
3535 result-encoding : string
3636 script : |
3737 const resp = await github.rest.pulls.list({
38- owner: inputs.owner,
39- repo: inputs.repository,
38+ owner: ${{ inputs.owner }} ,
39+ repo: ${{ inputs.repository }} ,
4040 state: 'open',
4141 sort: 'created',
4242 per_page: 100
4343 });
4444
45- const timeRange = parseInt(inputs.hours) * 60 * 60 * 1000;
45+ const timeRange = parseInt(${{ inputs.hours }} ) * 60 * 60 * 1000;
4646 const sinceTime = new Date(Date.now() - timeRange).toISOString();
47- const input_labels = inputs.labels;
47+ const input_labels = ${{ inputs.labels }} ;
4848 const labels = input_labels
4949 ? input_labels.split(/,|\n/).map(label => label.trim())
5050 : [];
Original file line number Diff line number Diff line change 1- name : ' Per PR'
1+ name : ' Dispatch PR events '
22
33on :
44 pull_request :
3535 hours : 24
3636
3737 dispatch-pr :
38- name : ' Dispatch PR events for #${{ matrix.pr.number }}'
38+ name : ' Dispatch PR event - #${{ matrix.pr.number }}'
3939 runs-on : ubuntu-latest
4040 needs :
4141 - list-pr
You can’t perform that action at this time.
0 commit comments