Skip to content

Commit 3f90c55

Browse files
committed
Fix contributors output
1 parent 50ba828 commit 3f90c55

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ inputs:
7171
outputs:
7272
changelog:
7373
description: The built release changelog built from the merged pull requests
74+
contributors:
75+
description: A comma separated list of contributors (GitHub usernames) who contributed to the release
7476
pull_requests:
7577
description: A comma seperated list of PR numbers that were merged
7678
owner:

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/transform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export function buildChangelog(diffInfo: DiffInfo, origPrs: PullRequestInfo[], o
204204
const contributorsArray = Array.from(contributorsSet)
205205
const contributorsString = contributorsArray.join(', ')
206206
const externalContributorString = contributorsArray.filter(value => value !== `@${options.owner}`).join(', ')
207-
core.setOutput('contributors', JSON.stringify(contributorsSet))
207+
core.setOutput('contributors', contributorsArray.join(','))
208208

209209
const releaseNotesTemplateContext = buildReleaseNotesTemplateContext(
210210
changelogStrings,

0 commit comments

Comments
 (0)