Skip to content

Commit

Permalink
Dont need event
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu committed Mar 9, 2021
1 parent e77dab6 commit 50212c9
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.event.pull_request.head.sha);
execArgs.push('-C', "" + context.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.event.pull_request.head.sha}`);
execArgs.push('-C', `${context.pull_request.head.sha}`);
}
if (overridePr) {
execArgs.push('-P', `${overridePr}`);
Expand Down

0 comments on commit 50212c9

Please sign in to comment.