Skip to content

fix(renovate): remove extractVersionTemplate to preserve v prefix in version updates#59

Merged
kryota-dev merged 3 commits into
mainfrom
fix/renovate-extract-version-template
Mar 12, 2026
Merged

fix(renovate): remove extractVersionTemplate to preserve v prefix in version updates#59
kryota-dev merged 3 commits into
mainfrom
fix/renovate-extract-version-template

Conversation

@kryota-dev
Copy link
Copy Markdown
Owner

Summary

Fix a bug where Renovate's customManagers configuration was stripping the v prefix from version strings when updating tool versions in actions-lint.yml, causing lint / lint CI to fail with a 404 error.

Changes

  • Remove extractVersionTemplate from the Renovate customManagers config in .github/renovate.json5

Root Cause

The extractVersionTemplate: "^v?(?<version>.*)$" setting was stripping the v prefix not only for internal version comparison, but also when writing the updated version back to the file.

Before (broken): ZIZMOR_VERSION="v1.22.0"ZIZMOR_VERSION="1.23.1"
After (fixed): ZIZMOR_VERSION="v1.22.0"ZIZMOR_VERSION="v1.23.1"

aqua requires v-prefixed tags to resolve packages via the GitHub API. Without the prefix, installs fail with 404 Not Found.

Related Issues

Related PRs that were failing due to this bug:

Checklist

  • All uses: references are pinned to full commit SHAs (40 characters) with the tag noted in a comment
  • File naming conventions (kebab-case) are followed
  • Required permissions are set to the minimum necessary
  • Ran actionlint locally and confirmed no errors

kryota-dev and others added 2 commits March 13, 2026 08:31
…version updates

extractVersionTemplate was stripping the v prefix when Renovate wrote back
updated versions (e.g. v1.22.0 -> 1.23.1 instead of v1.23.1), causing aqua
to fail with 404 when trying to install packages by the tag without v prefix.

Removing extractVersionTemplate allows versioningTemplate: "semver" to handle
v-prefixed versions natively, preserving the v prefix on write-back.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adjusts Renovate configuration so version updates in actions-lint.yml preserve the v prefix (required by aqua/GitHub tag resolution), preventing CI failures caused by unprefixed versions.

Changes:

  • Removes extractVersionTemplate from Renovate regex custom manager so updated versions keep the v prefix.
  • Adds new Serena project configuration fields (line_ending, read_only_memory_patterns) in .serena/project.yml.

Reviewed changes

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

File Description
.github/renovate.json5 Removes extractVersionTemplate to avoid stripping v from updated versions.
.serena/project.yml Introduces additional Serena project settings (not currently described in the PR summary).

Comment thread .serena/project.yml
Comment thread .serena/project.yml
…rtifacts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kryota-dev kryota-dev merged commit 6468860 into main Mar 12, 2026
4 checks passed
@kryota-dev kryota-dev deleted the fix/renovate-extract-version-template branch March 12, 2026 23:37
@kryota-dev kryota-dev mentioned this pull request Mar 12, 2026
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