Skip to content

Float v1 and v1.N from vN.N.N release tags - #5

Merged
davidnewhall merged 1 commit into
mainfrom
pr2-floating-tags
Aug 24, 2026
Merged

davidnewhall merged 1 commit into
mainfrom
pr2-floating-tags

Conversation

@davidnewhall

@davidnewhall davidnewhall commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add a release workflow that creates a GitHub Release on a strict vN.N.N tag, then force-moves vN and vN.N only when that tag is the highest of its series (same logic as golift/codesign).
  • Add Renovate for digest-pinned GitHub Actions with automerge.

Test plan

  • CI bats and shellcheck jobs on this PR
  • After merge, push v1.1.1 and confirm v1 and v1.1 move to it

Made with Cursor

….N.N tags.

Consumers pin @v1 / @v1.1, and those tags currently point at different commits; moving them only from a strict semver tag keeps @v1 current without re-triggering the workflow.

Co-authored-by: Cursor <cursoragent@cursor.com>
@davidnewhall
davidnewhall merged commit eb00673 into main Aug 24, 2026
2 checks passed
@davidnewhall
davidnewhall deleted the pr2-floating-tags branch August 24, 2026 23:55
@golift-bot
golift-bot requested a lite review from Copilot August 24, 2026 23:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds automation to publish GitHub Releases from strict semver tags and maintain floating vN / vN.N tags for GitHub Actions consumers, plus Renovate configuration to keep GitHub Action digests up to date with automerge.

Changes:

  • Add a release GitHub Actions workflow to create a GitHub Release on vN.N.N tag pushes and advance floating tags when appropriate.
  • Add Renovate configuration to pin GitHub Action digests and automerge updates after checks pass.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/release.yml New release workflow to create GitHub Releases and advance floating tags (vN, vN.N).
.github/renovate.json Add Renovate rules for digest-pinned GitHub Actions with automerge.

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

Comment thread .github/workflows/release.yml
Comment on lines +40 to +43
- name: create-github-release
env:
GH_TOKEN: ${{ github.token }}
run: gh release create "${GITHUB_REF_NAME}" --generate-notes
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