Visitar URL original
chore: sync actions from gh-aw@v0.85.1 (#208) · github/gh-aw-actions@b078ca2 · GitHub
Skip to content

Commit b078ca2

Browse files
chore: sync actions from gh-aw@v0.85.1 (#208)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 32d9b58 commit b078ca2

6 files changed

Lines changed: 7 additions & 327 deletions

File tree

‎setup/js/create_discussion.cjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ async function main(config = {}) {
587587
// Generate footer with expiration using helper
588588
if (includeFooter) {
589589
const footer = addExpirationToFooter(markdownParts.footer, expiresHours, "Discussion");
590-
bodyLines.push(``, ``, footer);
590+
bodyLines.push(``, footer);
591591
}
592592

593593
// Add standalone workflow-id marker for searchability (consistent with comments)

‎setup/js/create_issue.cjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ async function main(config = {}) {
926926
expiresHours,
927927
"Issue"
928928
);
929-
bodyLines.push(``, ``, footer);
929+
bodyLines.push(``, footer);
930930
}
931931

932932
// Add standalone workflow-id marker for searchability (consistent with comments)

‎setup/js/create_pull_request.cjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1595,7 +1595,7 @@ async function main(config = {}) {
15951595
if (expiresHours > 0) {
15961596
footer += "\n\n<!-- gh-aw-expires-type: pull-request -->";
15971597
}
1598-
bodyLines.push(``, ``, footer);
1598+
bodyLines.push(``, footer);
15991599
footerParts.push(footer);
16001600
}
16011601

‎setup/js/messages_footer.cjs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,10 @@ function generateFooterWithMessages(workflowName, runUrl, workflowSource, workfl
736736
}
737737

738738
// Attribution footer line comes after any guard notices
739-
let footer = guardNotices + "\n\n" + getFooterMessage(ctx);
739+
// Attribution footer line comes after any guard notices. Only add the separating
740+
// blank line when guard notices are present, otherwise the footer would start with
741+
// stray blank lines that render as a large gap after the body.
742+
let footer = guardNotices ? guardNotices.trim() + "\n\n" + getFooterMessage(ctx) : getFooterMessage(ctx);
740743

741744
// Add installation instructions if source is available
742745
const installMessage = getFooterInstallMessage(ctx);

‎setup/js/parse_antigravity_log.cjs‎

Lines changed: 0 additions & 127 deletions
This file was deleted.

‎setup/sh/install_antigravity_cli.sh‎

Lines changed: 0 additions & 196 deletions
This file was deleted.

0 commit comments

Comments
 (0)