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`)