- introduce the ability to reference parent / child PR relationships

- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/1074
- optimize placeholder removal
- only keep placeholders in array if we have values
This commit is contained in:
Mike Penz
2023-06-04 18:48:53 +00:00
committed by GitHub
parent b691df6437
commit 831ac3e7ee
6 changed files with 211 additions and 9 deletions
+19
View File
@@ -36,6 +36,25 @@ export interface CommentInfo {
state: string | undefined
}
export const EMPTY_PULL_REQUEST_INFO: PullRequestInfo = {
number: 0,
title: "",
htmlURL: "",
baseBranch: "",
mergedAt: undefined,
createdAt: moment(),
mergeCommitSha: "",
author: "",
repoName: "",
labels: [],
milestone: "",
body: "",
assignees: [],
requestedReviewers: [],
approvedReviewers: [],
status: 'open'
}
export const EMPTY_COMMENT_INFO: CommentInfo = {
id: 0,
htmlURL: '',