Skip to content

Commit

Permalink
Merge pull request #3 from villainous-hippogriff/master
Browse files Browse the repository at this point in the history
Build the dist version
  • Loading branch information
samagius authored Mar 15, 2021
2 parents a377a1a + ac81497 commit 6181bbf
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30253,7 +30253,7 @@ const context = {
SKIP_PR: getVar({
key: 'SKIP_PR',
required: false,
default: true
default: false
}),
}

Expand Down Expand Up @@ -30788,7 +30788,13 @@ const run = async () => {
if (hasChanges === false && modified.length < 1) {
core.info('File(s) already up to date')

if (existingPr) await git.removePrWarning()
if (SKIP_PR) {
return;
}

if (existingPr) {
await git.removePrWarning()
}

return
}
Expand Down

0 comments on commit 6181bbf

Please sign in to comment.