We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6131fa6 commit b2988fdCopy full SHA for b2988fd
.github/workflows/ci.yml
@@ -117,7 +117,7 @@ jobs:
117
const text = `### Lua5.3\n${benchmarkInfoLua.text}\n### LuaJIT\n${benchmarkInfoJIT.text}`;
118
119
const pull_request = context.payload.pull_request;
120
- if (pull_request.head.repo.url === pull_request.base.repo.url) {
+ if (!pull_request || pull_request.head.repo.url === pull_request.base.repo.url) {
121
// This only works if not in a fork.
122
github.checks.create({
123
owner: context.repo.owner,
0 commit comments