Skip to content

CI: put build artifact links in the PR description instead of a comment - #122

Merged
sshcrack merged 1 commit into
masterfrom
t3/ci-builds-in-description
Nov 8, 2026
Merged

sshcrack merged 1 commit into
masterfrom
t3/ci-builds-in-description

Conversation

@sshcrack

@sshcrack sshcrack commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

The artifact job posted (and patched) a bot comment on every CI run, which notifies every watcher each time. Mirror the talking-colonists setup instead: CI now writes a ### 📦 Build artifacts section into the PR description, between `

📦 Build artifacts

Built from b519f51 · CI run

Platform Download Archive size
desktop-linux-build Download 248 MiB
desktop-windows-build Download 42 MiB
led-matrix-build Download 320 MiB
web-build Download 0 MiB
`.
  • The description is re-read right before writing, so author edits made just before the run are preserved; the section is replaced if present, otherwise appended after a ---.
  • Section content is unchanged in substance: platform, artifact download link, archive size, plus the built head SHA and run link.
  • A follow-up step deletes the leftover ## Build Artifacts bot comment on PRs that still have one from the old mechanism.

The build artifact itself is untouched — this is only where the links show up.

@sshcrack
sshcrack merged commit 91a2704 into master Nov 8, 2026
11 checks passed
@sshcrack
sshcrack deleted the t3/ci-builds-in-description branch November 8, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant