- define , joined list and set it as pull_requests output

- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/451
This commit is contained in:
Mike Penz
2021-08-26 17:15:28 +02:00
parent 3c21930f08
commit 595c92f7b7
+4
View File
@@ -24,6 +24,10 @@ export class ReleaseNotes {
if (!this.options.commitMode) {
core.startGroup(`🚀 Load pull requests`)
mergedPullRequests = await this.getMergedPullRequests(this.octokit)
// define the included PRs within this release as output
core.setOutput('pull_requests', mergedPullRequests.map(pr => { return pr.number }).join(','))
core.endGroup()
} else {
core.startGroup(`🚀 Load commit history`)