This commit is contained in:
W Scott Jasso 2025-11-12 12:56:25 +01:00 committed by GitHub
commit b6a6ec7a17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,6 +69,13 @@ async function run(): Promise<undefined> {
}
return
}
if (hideOldComment) {
if (previous) {
await minimizeComment(octokit, previous.id, hideClassify)
}
return
}
if (!previous) {
if (onlyUpdateComment) {
@ -85,11 +92,6 @@ async function run(): Promise<undefined> {
return
}
if (hideOldComment) {
await minimizeComment(octokit, previous.id, hideClassify)
return
}
if (skipUnchanged && commentsEqual(body, previous.body || "", header)) {
// don't recreate or update if the message is unchanged
return