- introduce output with the categorised count of prs
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/658
This commit is contained in:
+2
@@ -1311,11 +1311,13 @@ function buildChangelog(prs, options) {
|
||||
}
|
||||
}
|
||||
core.info(`✒️ Wrote ${categorizedPrs.length} categorized pull requests down`);
|
||||
core.setOutput('categorized_prs', categorizedPrs.length);
|
||||
let changelogUncategorized = '';
|
||||
for (const pr of uncategorizedPrs) {
|
||||
changelogUncategorized = `${changelogUncategorized + pr}\n`;
|
||||
}
|
||||
core.info(`✒️ Wrote ${uncategorizedPrs.length} non categorized pull requests down`);
|
||||
core.setOutput('uncategorized_prs', uncategorizedPrs.length);
|
||||
let changelogIgnored = '';
|
||||
for (const pr of ignoredPrs) {
|
||||
changelogIgnored = `${changelogIgnored + pr}\n`;
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user