Skip to content

Commit

Permalink
BUG: No skip when not PR
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Jan 8, 2021
1 parent 28102f6 commit b1fa40e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ async function run() {
const pr = github.context.payload.pull_request;
if (!pr) {
core.info("This action only runs for pull request, exiting with no-op");
core.setOutput('run_next', true); /* To handle NO_FAIL case */
return;
}

Expand Down

0 comments on commit b1fa40e

Please sign in to comment.