File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 3939 # To test changes the ref to the current branch.
4040 gh api -X POST -H "Accept: application/vnd.github+json" \
4141 -H "X-GitHub-Api-Version: 2022-11-28" \
42- -f 'inputs[checkRunId]=${{ steps.checkrun.outputs.checkId }}' \
43- -f "ref=run-tests" \
44- /repos/${{ github.repository }}/actions/workflows/integration-tests.yml/dispatches
42+ -f 'inputs[check_run_id]=${{ steps.checkrun.outputs.checkId }}' \
43+ -f 'inputs[pull_request_number]=${{ github.events.pull_request.number }}' \
44+ -f "ref=${{ github.ref_name }}" \
45+ /repos/${{ github.repository }}/actions/workflows/sdk-nightly.yml/dispatches
Original file line number Diff line number Diff line change @@ -2,9 +2,13 @@ name: Integration Tests
22on :
33 workflow_dispatch :
44 inputs :
5- checkRunId :
5+ check_run_id :
66 description : " ID for the Check Run in a PR"
77 type : string
8+ required : false
9+ pull_request_number :
10+ description : " Pull request number to test (if empty, tests run against main)"
11+ required : false
812
913jobs :
1014 myEvent :
You can’t perform that action at this time.
0 commit comments