File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 39
39
# To test changes the ref to the current branch.
40
40
gh api -X POST -H "Accept: application/vnd.github+json" \
41
41
-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
2
2
on :
3
3
workflow_dispatch :
4
4
inputs :
5
- checkRunId :
5
+ check_run_id :
6
6
description : " ID for the Check Run in a PR"
7
7
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
8
12
9
13
jobs :
10
14
myEvent :
You can’t perform that action at this time.
0 commit comments