Skip to content

chore(renovate): validate config#613

Open
janishorsts wants to merge 1 commit into
mainfrom
chore-renovate-validate
Open

chore(renovate): validate config#613
janishorsts wants to merge 1 commit into
mainfrom
chore-renovate-validate

Conversation

@janishorsts

Copy link
Copy Markdown
Collaborator

No description provided.

@janishorsts janishorsts self-assigned this Jun 26, 2026
@janishorsts janishorsts requested a review from a team as a code owner June 26, 2026 11:48
@janishorsts janishorsts requested review from kmannislands and removed request for a team June 26, 2026 11:48
@github-actions

Copy link
Copy Markdown

➖ Are we earthbuild yet?

No change in "earthly" occurrences

📈 Overall Progress

Branch Total Count
main 5346
This PR 5346
Difference +0

Keep up the great work migrating from Earthly to Earthbuild! 🚀

💡 Tips for finding more occurrences

Run locally to see detailed breakdown:

./.github/scripts/count-earthly.sh

Note that the goal is not to reach 0.
There is anticipated to be at least some occurences of earthly in the source code due to backwards compatibility with config files and language constructs.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new lint-renovate target in the Earthfile to validate the Renovate configuration file (.github/renovate.json5) using renovate-config-validator. It also integrates this new target into the lint-all build target. I have no feedback to provide as there are no review comments.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@janishorsts janishorsts added the ai-assisted Authored with AI assistance label Jun 26, 2026
Comment thread Earthfile
LET renovate_version=43.243.2
RUN \
--mount type=cache,target=/root/.npm,id=npm \
npm install -g renovate@$renovate_version

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Not sure what's in the dependency tree for renovate specifically but this sort of npm i -g is a bit dangerous with how often npm packages are getting compromised with outright malware these days.

Best to have a lockfile when working with npm so that the latest versions of all transitive dependencies are not automatically resolved.

Alternatively, we should be able to configure npm (if new enough) to not install anything that wasn't published at least 1 day ago which helps a lot given malware is generally detected and pulled by then

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Renovate is already embedded tightly into life cycle of EarthBuild project development, and many other projects.

If it is compromised, it opens pandora box.

The idea about lock file is interesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-assisted Authored with AI assistance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants