Compare commits

...

3 Commits

Author SHA1 Message Date
Jon Janego b1c898035c Update summary.ts
correct max length
2024-09-03 11:45:57 -05:00
Jon Janego bb49ef985c Update main.ts 2024-09-03 11:43:30 -05:00
Jon Janego 431ce2fe42 Update summary.ts 2024-09-03 10:47:30 -05:00
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -24,6 +24,7 @@ import {getRefs} from './git-refs'
import {groupDependenciesByManifest} from './utils'
import {commentPr, MAX_COMMENT_LENGTH} from './comment-pr'
import {getDeniedChanges} from './deny'
import {MAX_SUMMARY_LENGTH} from './summary'
async function delay(ms: number): Promise<void> {
return new Promise(resolve => setTimeout(resolve, ms))
@@ -200,7 +201,7 @@ async function run(): Promise<void> {
}
}
} finally {
await core.summary.write()
await core.summary.write() // need to write the minSummary content to this
}
}
+2
View File
@@ -10,6 +10,8 @@ const icons = {
warning: '⚠️'
}
export const MAX_SUMMARY_LENGTH = 1048576
// generates the DR report summmary and caches it to the Action's core.summary.
// returns the DR summary string, ready to be posted as a PR comment if the
// final DR report is too large