- ensure we retrieved pull requests, fix undefined exception
- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/127
This commit is contained in:
@@ -113,6 +113,7 @@ export class PullRequests {
|
||||
|
||||
const firstPR = prs[0]
|
||||
if (
|
||||
firstPR === undefined ||
|
||||
(firstPR.merged_at && fromDate.isAfter(moment(firstPR.merged_at))) ||
|
||||
mergedPRs.length >= maxPullRequests
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user