Skip to content

adding renovatebot to maintain deps#1531

Open
joshuafernandes wants to merge 1 commit into
mainfrom
renovatebot
Open

adding renovatebot to maintain deps#1531
joshuafernandes wants to merge 1 commit into
mainfrom
renovatebot

Conversation

@joshuafernandes

@joshuafernandes joshuafernandes commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Note

Medium Risk
Introduces automation that can open dependency PRs using GitHub App secrets in a security environment; misconfiguration or bypass of the team gate for immediate updates could increase supply-chain exposure.

Overview
Introduces automated dependency maintenance via Renovate: a new scheduled GitHub Actions workflow and a root renovate.json policy.

The .github/workflows/renovatebot.yml workflow runs on the 14th and 28th of each month (and via workflow_dispatch), uses the security environment, and invokes ConsenSys/github-actions/renovatebot with GitHub App credentials. Manual runs can override minimumReleaseAge; setting it to 0 is gated on active protocol-galileo team membership, and non-empty overrides are validated as non-negative integers before being passed as RENOVATE_MINIMUM_RELEASE_AGE.

renovate.json enables github-actions and npm only, turns off the dependency dashboard, pins GitHub Actions to SHA digests (7-day minimum release age, grouped), allows immediate updates for ConsenSys/github-actions, and groups npm updates with a 7-day release age.

Reviewed by Cursor Bugbot for commit fd256c2. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
doc-linea Ready Ready Preview, Comment Jun 11, 2026 9:15pm

Request Review

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit fd256c2. Configure here.

if ! [[ "$MINIMUM_RELEASE_AGE" =~ ^[0-9]+$ ]]; then
echo "Invalid minimumReleaseAge: must be a non-negative integer"
exit 1
fi

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Zero age gate bypass

Medium Severity

The protocol-galileo gate only runs when minimum_release_age is exactly the string 0, but the override step accepts any all-digit value. Inputs such as 00 skip the membership check yet still set RENOVATE_MINIMUM_RELEASE_AGE, undermining the stated rule that only 0 requires protocol-galileo.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit fd256c2. Configure here.

});
if (data.state !== 'active') {
core.setFailed(`${context.actor} must be an active member of protocol-galileo to set minimumReleaseAge to 0`);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Team check token insufficient

Medium Severity

The protocol-galileo membership step calls teams.getMembershipForUserInOrg via actions/github-script with the default GITHUB_TOKEN, while workflow permissions are only contents: read. That token typically cannot read org team membership, so the guard for minimum_release_age 0 may fail for everyone or behave unpredictably.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit fd256c2. Configure here.

@bgravenorst bgravenorst left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Couple of Bot comments which may (or may not) be valid. Otherwise, lgtm.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedgithub/​actions/​github-script@​f28e40c7f34bde8b3046d885e986cb6290c5673b99100100100100

View full report

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