|
|
|
|
@ -76,7 +76,12 @@ export const ensurePRSummaries = async (repo_id: string) => {
@@ -76,7 +76,12 @@ export const ensurePRSummaries = async (repo_id: string) => {
|
|
|
|
|
...summary_defaults, |
|
|
|
|
id: event.id, |
|
|
|
|
repo_id: repo_id, |
|
|
|
|
title: extractPatchMessage(event.content) || '', |
|
|
|
|
title: ( |
|
|
|
|
event.tagValue('name') || |
|
|
|
|
event.tagValue('description') || |
|
|
|
|
extractPatchMessage(event.content) || |
|
|
|
|
'' |
|
|
|
|
).split('\n')[0], |
|
|
|
|
descritpion: event.tagValue('description') || '', |
|
|
|
|
created_at: event.created_at, |
|
|
|
|
comments: 0, |
|
|
|
|
@ -206,3 +211,6 @@ function getAndUpdatePRStatus(prs: PRSummaries, repo: Repo): void {
@@ -206,3 +211,6 @@ function getAndUpdatePRStatus(prs: PRSummaries, repo: Repo): void {
|
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
function extractTagContent(arg0: string): string { |
|
|
|
|
throw new Error('Function not implemented.') |
|
|
|
|
} |
|
|
|
|
|