Skip to content

Commit 38a64d1

Browse files
committed
Fix getting base_ref for non-PRs
Part of #68.
1 parent 7e78784 commit 38a64d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.main.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ workflow(
8181
run(
8282
name = "Check for actions",
8383
) {
84-
validateTypings(github.sha, github.base_ref)
84+
validateTypings(github.sha, github.base_ref?.ifEmpty { null })
8585
}
8686
}
8787

0 commit comments

Comments
 (0)