- add additional debug logs to help identify which prs ended up in which category
This commit is contained in:
@@ -185,6 +185,11 @@ export function buildChangelog(
|
||||
}
|
||||
}
|
||||
core.info(`✒️ Wrote ${categorizedPrs.length} categorized pull requests down`)
|
||||
if (core.isDebug()) {
|
||||
for (const pr of categorizedPrs) {
|
||||
core.debug(` ${pr}`)
|
||||
}
|
||||
}
|
||||
core.setOutput('categorized_prs', categorizedPrs.length)
|
||||
|
||||
let changelogUncategorized = ''
|
||||
@@ -194,12 +199,22 @@ export function buildChangelog(
|
||||
core.info(
|
||||
`✒️ Wrote ${uncategorizedPrs.length} non categorized pull requests down`
|
||||
)
|
||||
if (core.isDebug()) {
|
||||
for (const pr of uncategorizedPrs) {
|
||||
core.debug(` ${pr}`)
|
||||
}
|
||||
}
|
||||
core.setOutput('uncategorized_prs', uncategorizedPrs.length)
|
||||
|
||||
let changelogIgnored = ''
|
||||
for (const pr of ignoredPrs) {
|
||||
changelogIgnored = `${changelogIgnored + pr}\n`
|
||||
}
|
||||
if (core.isDebug()) {
|
||||
for (const pr of ignoredPrs) {
|
||||
core.debug(` ${pr}`)
|
||||
}
|
||||
}
|
||||
core.info(`✒️ Wrote ${ignoredPrs.length} ignored pull requests down`)
|
||||
|
||||
// fill template
|
||||
|
||||
Reference in New Issue
Block a user