Skip to content

fix: integrate Docker publishing into release workflow#14

Merged
GraysonCAdams merged 3 commits intomainfrom
fix/release-workflow-checks
Mar 1, 2026
Merged

fix: integrate Docker publishing into release workflow#14
GraysonCAdams merged 3 commits intomainfrom
fix/release-workflow-checks

Conversation

@GraysonCAdams
Copy link
Copy Markdown
Collaborator

@GraysonCAdams GraysonCAdams commented Mar 1, 2026

Summary

  • Integrates Docker build+push into the Release workflow as a conditional job that runs when release_created is true
  • Fixes the GITHUB_TOKEN limitation where release events created by GITHUB_TOKEN don't trigger other workflows (like docker-publish.yml)
  • Adds commit status API calls to auto-satisfy required CI checks on release-please PRs
  • Enables auto-merge on release-please PRs
  • Converts docker-publish.yml to a manual workflow_dispatch fallback

Why

The v1.1.0 release was created successfully but no Docker image was ever published because docker-publish.yml triggered on release: published events, which GITHUB_TOKEN cannot fire.

Test plan

  • Merge this PR and verify the Release workflow includes the docker job definition
  • On next release, verify Docker image is published to GHCR
  • Verify manual docker-publish.yml can be triggered via workflow_dispatch

GITHUB_TOKEN-created PRs don't trigger CI workflows, so release-please
PRs were stuck waiting for required checks (ci, security-status) that
would never run. Fix by using the commit status API to mark checks as
passed — the code is already tested on main before release-please runs.
Also enables auto-merge on the release PR.
The docker-publish.yml workflow triggered on release events, but since
releases are created by GITHUB_TOKEN, the event never fires for other
workflows. Move Docker build+push into the release workflow as a
conditional job that runs when release_created is true.

Also fixes version/tag extraction for release-please's scrolly-v*
tag format by using release-please outputs directly instead of
parsing GITHUB_REF_NAME.

docker-publish.yml is retained as a manual workflow_dispatch fallback.
@GraysonCAdams GraysonCAdams changed the title fix: auto-satisfy required checks on release-please PRs fix: integrate Docker publishing into release workflow Mar 1, 2026
The code scanning ruleset requires CodeQL results for every PR, but
CodeQL was skipped when only non-code files changed. Adding
workflow_dispatch to the condition allows manual triggering to unblock
PRs that don't modify source code.
@GraysonCAdams GraysonCAdams merged commit 255b413 into main Mar 1, 2026
21 checks passed
@GraysonCAdams GraysonCAdams deleted the fix/release-workflow-checks branch March 1, 2026 06:04
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