Skip to content

Commit 642375f

Browse files
committed
Try fixing branch name
1 parent e8e0ba3 commit 642375f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/validate-pr/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ async function run() {
5656
path.join(tsValidationPath, 'types.ts')
5757
)
5858
const context = github.context
59-
const branch = context.base_ref
59+
const branch = context.payload.base_ref
6060
assert(context.payload.pull_request, 'We should be in a PR context')
6161
const files = []
6262
let page = 1

0 commit comments

Comments
 (0)