- 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) {
|
if (!this.options.commitMode) {
|
||||||
core.startGroup(`🚀 Load pull requests`)
|
core.startGroup(`🚀 Load pull requests`)
|
||||||
mergedPullRequests = await this.getMergedPullRequests(this.octokit)
|
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()
|
core.endGroup()
|
||||||
} else {
|
} else {
|
||||||
core.startGroup(`🚀 Load commit history`)
|
core.startGroup(`🚀 Load commit history`)
|
||||||
|
|||||||
Reference in New Issue
Block a user