Skip to content

Commit

Permalink
hotfix: push event
Browse files Browse the repository at this point in the history
Signed-off-by: Minsu Lee <amond@amond.net>
  • Loading branch information
amondnet committed Jul 9, 2020
1 parent 75d5edd commit 79b0445
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 @@ -21949,7 +21949,7 @@ async function vercelInspect(deploymentUrl) {

async function findCommentsForEvent() {
core.debug('find comments for event');
if (context.eventName === 'commit') {
if (context.eventName === 'push') {
core.debug('event is "commit", use "listCommentsForCommit"');
return octokit.repos.listCommentsForCommit({
...context.repo,
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ async function vercelInspect(deploymentUrl) {

async function findCommentsForEvent() {
core.debug('find comments for event');
if (context.eventName === 'commit') {
if (context.eventName === 'push') {
core.debug('event is "commit", use "listCommentsForCommit"');
return octokit.repos.listCommentsForCommit({
...context.repo,
Expand Down

0 comments on commit 79b0445

Please sign in to comment.