Skip to content

ci: allow targeting crates release refs#111

Merged
maralbahari merged 1 commit into
mainfrom
codex/release-target-ref
Jul 14, 2026
Merged

ci: allow targeting crates release refs#111
maralbahari merged 1 commit into
mainfrom
codex/release-target-ref

Conversation

@franciscojavierarceo

Copy link
Copy Markdown
Collaborator

Summary

  • add an optional target_ref input to the manual crates release workflow
  • resolve the checked-out release target once and use that SHA for package checks, publishing, tags, release branches, and GitHub Release notes
  • allow an existing releases/vX.Y.Z branch when it already points at the selected target, which keeps the workflow compatible with a future frozen-release-branch flow

Follow-up to the review note on #97 about avoiding races between PR merges and version creation.

Test Plan

  • SKIP=no-commit-to-branch uvx pre-commit run --files .github/workflows/release-crates.yml
  • git diff --check -- .github/workflows/release-crates.yml
  • go run github.com/rhysd/actionlint/cmd/actionlint@latest .github/workflows/release-crates.yml

Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
@maralbahari
maralbahari merged commit 01c4b90 into main Jul 14, 2026
3 checks passed
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