Skip to content

ci: add renovate configuration#4

Closed
stempler wants to merge 3 commits intomasterfrom
renovate/reconfigure
Closed

ci: add renovate configuration#4
stempler wants to merge 3 commits intomasterfrom
renovate/reconfigure

Conversation

@stempler
Copy link
Copy Markdown
Member

@stempler stempler commented Dec 4, 2025

No description provided.

@stempler stempler requested a review from Copilot December 4, 2025 18:50
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

This PR adds Renovate automation for dependency management by introducing Renovate configuration, workflow, and repository settings. The changes enable automated dependency updates through a self-hosted Renovate bot with custom regex patterns to detect versions in pkl files and GitHub action references.

  • Adds .github/renovate.json5 with custom managers for pkl files and hk package imports
  • Creates .github/workflows/tf-renovate.yml workflow for automated Renovate runs
  • Adds inline Renovate comments to Shared.pkl for version tracking

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
.github/renovate.json5 Defines Renovate configuration with custom regex managers for pkl files and hk imports
.github/workflows/tf-renovate.yml Adds GitHub Actions workflow for running Renovate on schedule and manual trigger
.wetf-repo.yml Repository configuration file referencing the renovate preset
Shared.pkl Adds Renovate inline comments to track pkl and gitleaks version dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

customType: "regex",
fileMatch: ["Builtins.pkl", "Config.pkl"],
matchStrings: [
'(amends|import) "package://github.com/jdx/hk/releases/download/v(?<currentVersion>\\d+\\.\\d+\\.\\d+)/hk@(?<currentVersion2>\\d+\\.\\d+\\.\\d+)#',
Copy link

Copilot AI Dec 4, 2025

Choose a reason for hiding this comment

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

The regex captures the same version twice with different group names (currentVersion and currentVersion2). Renovate expects a single currentVersion group. Remove the duplicate capture group and use only currentVersion.

Suggested change
'(amends|import) "package://github.com/jdx/hk/releases/download/v(?<currentVersion>\\d+\\.\\d+\\.\\d+)/hk@(?<currentVersion2>\\d+\\.\\d+\\.\\d+)#',
'(amends|import) "package://github.com/jdx/hk/releases/download/v(?<currentVersion>\\d+\\.\\d+\\.\\d+)/hk@\\d+\\.\\d+\\.\\d+#',

Copilot uses AI. Check for mistakes.
@we-renovate
Copy link
Copy Markdown
Contributor

we-renovate bot commented Dec 4, 2025

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed.

Location: .github/renovate.json5
Message: Custom Manager contains disallowed fields: fileMatch, Custom Manager contains disallowed fields: fileMatch, Invalid configuration option: customManagers[0].fileMatch, Invalid configuration option: customManagers[1].fileMatch

@stempler stempler closed this Dec 4, 2025
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