Align Renovate autodiscovery payload and GoShs docs example - #704
Merged
Conversation
Co-authored-by: frjcomp <107982661+frjcomp@users.noreply.github.com>
Co-authored-by: frjcomp <107982661+frjcomp@users.noreply.github.com>
Copilot
AI
changed the title
Update Renovate autodiscovery template for maven-wrapper manager
Align Renovate autodiscovery payload and GoShs docs example
Sep 1, 2026
Copilot created this pull request from a session on behalf of
frjcomp
September 1, 2026 15:09
View session
frjcomp
marked this pull request as ready for review
September 1, 2026 15:10
frjcomp
enabled auto-merge (squash)
September 1, 2026 15:10
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request aligns the Renovate autodiscovery exploit template and its documentation with the intended defaults by constraining Renovate to the maven-wrapper manager and updating the GoShs command shown in the Renovate guide.
Changes:
- Add
enabledManagers: ["maven-wrapper"]to the sharedRenovateJSONtemplate used for autodiscovery. - Extend the GitLab Renovate autodiscovery tests to assert the new
enabledManagerssetting is present. - Update the Renovate guide’s GoShs example command to the requested flags and port.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pkg/renovate/autodiscovery.go | Updates the shared RenovateJSON template to include enabledManagers for maven-wrapper. |
| pkg/gitlab/renovate/autodiscovery/autodiscovery_test.go | Adds a test assertion ensuring the template includes enabledManagers and maven-wrapper. |
| docs/guides/renovate.md | Adjusts the GoShs server example command to match the documented exploitation flow (flags/port). |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates the documented Renovate exploitation flow to match the intended command/config defaults. It adds the missing manager constraint in generated
renovate.jsonfor autodiscovery and corrects the GoShs command shown in the guide.Autodiscovery
renovate.jsongenerationenabledManagersto the shared autodiscovery template used when creatingrenovate.json.Template contract coverage
enabledManagerssetting.Renovate guide command update
{ "enabledManagers": ["maven-wrapper"] }