Skip to content

ci: simplify Patch Release Me 0.6.7 invocation - #226

Merged
felickz merged 1 commit into
mainfrom
chore/patch-release-me-0.6.7
Aug 29, 2026
Merged

ci: simplify Patch Release Me 0.6.7 invocation#226
felickz merged 1 commit into
mainfrom
chore/patch-release-me-0.6.7

Conversation

@felickz

@felickz felickz commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace both manual Patch Release Me docker run workarounds with GitHub's native Docker action syntax.
  • Upgrade from the 0.6.5 image to 0.6.7 and pin the OCI image-index digest.
  • Remove manual user, workspace mount, and working-directory plumbing.
  • Retain the prerelease-field restoration because Patch Release Me still drops unknown configuration keys.
  • Document returning to the repository action after [Security]: Docker action SHA does not pin runtime image digest 42ByteLabs/patch-release-me#169 is resolved.

Why

Patch Release Me 0.6.7 fixes the mode argument handling and has a published container image. Calling the image through docker://...:0.6.7@sha256:... preserves immutable execution while allowing GitHub Actions to manage the workspace and arguments.

The repository action is not used yet because its Dockerfile still references a mutable image tag.

Validation

  • Parsed both updated workflows as YAML.
  • Ran git diff --check.
  • Resolved the 0.6.7 OCI image-index digest with docker buildx imagetools inspect.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 28, 2026 23:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

Review tier: Lite
Findings: 2 Medium severity

New issues introduced by this change (2)
Severity Finding
Medium severity .github/​workflows/​update-release.ymluses: docker://… container steps do not word-split with: args; the entire args: string is…
Medium severity .github/​workflows/​update-codeql-version.yml — Same issue as update-release.yml: for uses: docker://… steps, with: args is passed to the…
What changed in this PR

This PR updates the two release-bump workflows to invoke Patch Release Me via uses: docker://… with a pinned 0.6.7 image+digest, aiming to remove the prior manual docker run plumbing while keeping bumps reproducible and immutable.

Changes:

  • Replaced the prior run: docker run … workaround with uses: docker://ghcr.io/42bytelabs/patch-release-me:0.6.7@sha256:… in both workflows.
  • Pinned the Patch Release Me container reference to a specific 0.6.7 image digest.
  • Added a TODO note about returning to the upstream action after upstream digest-pins its runtime image.
File Description
.github/​workflows/​update-release.yml Swaps the release bump step to a docker:// container action invocation of Patch Release Me 0.6.7.
.github/​workflows/​update-codeql-version.yml Swaps the optional version bump step to the same docker:// Patch Release Me 0.6.7 invocation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/update-release.yml
Comment thread .github/workflows/update-codeql-version.yml
@felickz
felickz merged commit 1f18b27 into main Aug 29, 2026
24 checks passed
@felickz
felickz deleted the chore/patch-release-me-0.6.7 branch August 29, 2026 01:41
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.

2 participants