Skip to content

Update Renovate Autodiscover PoC to Run Arbitrary Commands Again#534

Merged
frjcomp merged 1 commit intomainfrom
fix/renovate-pr-limits
Feb 26, 2026
Merged

Update Renovate Autodiscover PoC to Run Arbitrary Commands Again#534
frjcomp merged 1 commit intomainfrom
fix/renovate-pr-limits

Conversation

@frjcomp
Copy link
Copy Markdown
Collaborator

@frjcomp frjcomp commented Feb 26, 2026

Renovate introduced renovatebot/renovate#39458 which disallows gradlew by default. However the mavenw is still allowed, migrate to this appoach.

Copilot AI review requested due to automatic review settings February 26, 2026 12:33
Copy link
Copy Markdown
Contributor

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

Updates Pipeleek’s Renovate autodiscovery PoC to use the Maven wrapper (mvnw) instead of the Gradle wrapper (gradlew), aligning with Renovate’s newer restrictions while keeping the PoC functional across GitLab/GitHub.

Changes:

  • Replaced Gradle-based PoC artifacts (build.gradle, gradlew, gradle-wrapper.properties) with Maven equivalents (pom.xml, mvnw, maven-wrapper.properties).
  • Updated GitLab/GitHub generator implementations plus unit/e2e tests to match the new Maven wrapper approach.
  • Updated Renovate guide documentation and PoC logging expectations.

Reviewed changes

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

Show a summary per file
File Description
tests/e2e/gitlab/renovate/renovate_test.go Updates assertions to expect Maven wrapper messaging (mvnw).
tests/e2e/github/renovate/renovate_test.go Updates mock API and assertions for pom.xml + Maven wrapper messaging.
pkg/renovate/autodiscovery.go Swaps shared PoC templates to Maven wrapper artifacts; adds Renovate PR throttling config.
pkg/gitlab/renovate/autodiscovery/autodiscovery_test.go Updates unit tests to validate new Maven templates and generated files.
pkg/gitlab/renovate/autodiscovery/autodiscovery.go Generates pom.xml, mvnw, and .mvn/wrapper/maven-wrapper.properties for GitLab PoC.
pkg/github/renovate/autodiscovery/autodiscovery.go Generates pom.xml, mvnw, and .mvn/wrapper/maven-wrapper.properties for GitHub PoC.
internal/cmd/gitlab/renovate/autodiscovery/autodiscovery.go Updates command help text to Maven wrapper; relaxes required config keys.
internal/cmd/github/renovate/autodiscovery/autodiscovery.go Updates command help text to Maven wrapper; relaxes required config keys.
docs/guides/renovate.md Updates example output and explanation to Maven wrapper flow.

@frjcomp frjcomp merged commit 55c1eb0 into main Feb 26, 2026
16 checks passed
@frjcomp frjcomp deleted the fix/renovate-pr-limits branch February 26, 2026 12:46
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