Skip to content

Run publishing when a release goes live - #251

Merged
hannesdejager merged 1 commit into
masterfrom
fix-release-publishing-trigger
Oct 31, 2026
Merged

hannesdejager merged 1 commit into
masterfrom
fix-release-publishing-trigger

Conversation

@hannesdejager

Copy link
Copy Markdown
Member

Summary

Run binary and container publishing on release.published. GitHub does
not trigger release.created for draft releases, so publishing a draft
through the UI currently leaves the release without assets or images.

Give the binary upload job contents: write explicitly, which it needs
to attach the six binaries and their checksums. The repository currently
grants this permission by default, but the job should not depend on that
setting.

Validation

A PR run cannot execute a release-only job. The first published unFTP
release will exercise registry authentication and asset uploads.

GitHub does not trigger the created activity for draft releases.
Listen for published so both immediate releases and drafts promoted
through the UI start the binary and container publishing jobs.

Grant the release asset upload job contents: write explicitly. It
currently inherits that access from repository settings, but needs
it to attach binaries and checksums to the release.
@hannesdejager
hannesdejager merged commit 2912bb6 into master Oct 31, 2026
15 checks passed
@hannesdejager
hannesdejager deleted the fix-release-publishing-trigger branch October 31, 2026 13:48
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