- introduce output with the categorised count of prs

- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/658
This commit is contained in:
Mike Penz
2022-02-01 17:52:51 +01:00
parent 8151a3f1e0
commit c1f978e272
4 changed files with 16 additions and 10 deletions
+2
View File
@@ -165,6 +165,7 @@ export function buildChangelog(
}
}
core.info(`✒️ Wrote ${categorizedPrs.length} categorized pull requests down`)
core.setOutput('categorized_prs', categorizedPrs.length)
let changelogUncategorized = ''
for (const pr of uncategorizedPrs) {
@@ -173,6 +174,7 @@ export function buildChangelog(
core.info(
`✒️ Wrote ${uncategorizedPrs.length} non categorized pull requests down`
)
core.setOutput('uncategorized_prs', uncategorizedPrs.length)
let changelogIgnored = ''
for (const pr of ignoredPrs) {