Conversation
There was a problem hiding this comment.
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.json5with custom managers for pkl files and hk package imports - Creates
.github/workflows/tf-renovate.ymlworkflow for automated Renovate runs - Adds inline Renovate comments to
Shared.pklfor 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.
.github/renovate.json5
Outdated
| 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+)#', |
There was a problem hiding this comment.
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.
| '(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+#', |
Action Required: Fix Renovate ConfigurationThere is an error with this repository's Renovate configuration that needs to be fixed. Location: |
No description provided.