1
0
mirror of https://github.com/joaquinjsb/gitea-release-please-action synced 2026-05-13 10:41:35 +02:00

fix: do not set PR output, if no PR opened (#129)

This commit is contained in:
Benjamin E. Coe
2020-12-07 11:37:47 -05:00
committed by GitHub
parent 985c763f4a
commit b0faf1dd7d
3 changed files with 3898 additions and 22 deletions

View File

@@ -61,7 +61,9 @@ async function main () {
versionFile
})
const pr = await release.run()
core.setOutput('pr', pr)
if (pr) {
core.setOutput('pr', pr)
}
}
}