From 595c92f7b7def705becd6fcfa4d612436d5e8514 Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Thu, 26 Aug 2021 17:15:28 +0200 Subject: [PATCH] - define `,` joined list and set it as `pull_requests` output - FIX https://github.com/mikepenz/release-changelog-builder-action/issues/451 --- src/releaseNotes.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/releaseNotes.ts b/src/releaseNotes.ts index e714481..e86024c 100755 --- a/src/releaseNotes.ts +++ b/src/releaseNotes.ts @@ -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`)