Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
fix: do not set PR output, if no PR opened (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Dec 7, 2020
1 parent 985c763 commit b0faf1d
Show file tree
Hide file tree
Showing 3 changed files with 3,898 additions and 22 deletions.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ async function main () {
versionFile
})
const pr = await release.run()
core.setOutput('pr', pr)
if (pr) {
core.setOutput('pr', pr)
}
}
}

Expand Down
Loading

0 comments on commit b0faf1d

Please sign in to comment.