- 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:
@@ -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`)
|
||||
|
||||
Reference in New Issue
Block a user