Skip to content

Commit

Permalink
payload
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu committed Mar 9, 2021
1 parent 50212c9 commit 87fff2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59628,7 +59628,7 @@ var buildExec = function () {
}
else if ("" + context.eventName == 'pull_request' ||
"" + context.eventName == 'pull_request_target') {
execArgs.push('-C', "" + context.pull_request.head.sha);
execArgs.push('-C', "" + context.payload.pull_request.head.sha);
}
if (overridePr) {
execArgs.push('-P', "" + overridePr);
Expand Down
2 changes: 1 addition & 1 deletion src/buildExec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const buildExec = () => {
`${context.eventName}` == 'pull_request' ||
`${context.eventName}` == 'pull_request_target'
) {
execArgs.push('-C', `${context.pull_request.head.sha}`);
execArgs.push('-C', `${context.payload.pull_request.head.sha}`);
}
if (overridePr) {
execArgs.push('-P', `${overridePr}`);
Expand Down

0 comments on commit 87fff2e

Please sign in to comment.