Skip to content

Commit 87fff2e

Browse files
committed
payload
1 parent 50212c9 commit 87fff2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59628,7 +59628,7 @@ var buildExec = function () {
5962859628
}
5962959629
else if ("" + context.eventName == 'pull_request' ||
5963059630
"" + context.eventName == 'pull_request_target') {
59631-
execArgs.push('-C', "" + context.pull_request.head.sha);
59631+
execArgs.push('-C', "" + context.payload.pull_request.head.sha);
5963259632
}
5963359633
if (overridePr) {
5963459634
execArgs.push('-P', "" + overridePr);

src/buildExec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const buildExec = () => {
137137
`${context.eventName}` == 'pull_request' ||
138138
`${context.eventName}` == 'pull_request_target'
139139
) {
140-
execArgs.push('-C', `${context.pull_request.head.sha}`);
140+
execArgs.push('-C', `${context.payload.pull_request.head.sha}`);
141141
}
142142
if (overridePr) {
143143
execArgs.push('-P', `${overridePr}`);

0 commit comments

Comments
 (0)