- expand log messages

- introduce test case to verify the inclusion of the open PR as part of the standard PR set
This commit is contained in:
Mike Penz
2022-04-08 11:00:39 +02:00
parent 85af6a8181
commit 6211ea4995
6 changed files with 35 additions and 21 deletions
+5 -1
View File
@@ -150,11 +150,15 @@ export class ReleaseNotes {
)
core.info(
`️ Retrieved ${pullRequests.length} open PRs for ${owner}/${repo}`
`️ Retrieved ${openPullRequests.length} open PRs for ${owner}/${repo}`
)
// all pull requests
allPullRequests = allPullRequests.concat(openPullRequests)
core.info(
`️ Retrieved ${allPullRequests.length} total PRs for ${owner}/${repo}`
)
}
// retrieve base branches we allow