Skip to content

ci: Replace Dependabot with Renovate#7645

Open
matthewelwell wants to merge 2 commits into
mainfrom
ci/dependabot-to-renovate
Open

ci: Replace Dependabot with Renovate#7645
matthewelwell wants to merge 2 commits into
mainfrom
ci/dependabot-to-renovate

Conversation

@matthewelwell
Copy link
Copy Markdown
Contributor

@matthewelwell matthewelwell commented May 29, 2026

Thanks for submitting a PR! Please check the boxes below:

  • I have read the Contributing Guide.
  • I have added information to docs/ if required so people know about the feature.
  • I have filled in the "Changes" section below.
  • I have filled in the "How did you test this code" section below.

Changes

Replaces Dependabot with the Renovate GitHub App:

  • Removes .github/dependabot.yml
  • Adds renovate.json configured for security-only updates, with per-area reviewers and labels matching the previous Dependabot config (uv/api → back-end team, frontend npm → front-end team, docs npm → docs team)

Motivation: Dependabot stopped recognising this as a Python repo after the migration to uv, reporting "not a Python repo" on security alerts. Renovate has more robust uv support.

The Renovate GitHub App is already installed on the org, so no additional workflow is needed.

Note: Once merged, I'll need to:

  • Add this repository to the renovate app here
  • Disable dependabot from running on this repository here

How did you test this code?

Renovate will self-verify on merge by picking up renovate.json and running its first scan.

@matthewelwell matthewelwell requested a review from a team as a code owner May 29, 2026 16:04
@matthewelwell matthewelwell requested review from Zaimwa9 and removed request for a team May 29, 2026 16:04
@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

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

3 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs Ignored Ignored Preview May 29, 2026 4:08pm
flagsmith-frontend-preview Ignored Ignored Preview May 29, 2026 4:08pm
flagsmith-frontend-staging Ignored Ignored Preview May 29, 2026 4:08pm

Request Review

@matthewelwell matthewelwell requested review from khvn26 and removed request for Zaimwa9 May 29, 2026 16:05
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 29, 2026

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-api-test:pr-7645 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-e2e:pr-7645 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-frontend:pr-7645 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-api:pr-7645 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-7645 Finished ✅ Results

@github-actions github-actions Bot added the ci-cd Build, test and deployment related label May 29, 2026
Copy link
Copy Markdown

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

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 deletes the Dependabot configuration file, which previously managed dependency updates for the Python API (using uv) and frontend/docs (using npm). There are no review comments, and we have no feedback to provide.

CODEOWNERS already maps each directory to the correct team.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added ci-cd Build, test and deployment related and removed ci-cd Build, test and deployment related labels May 29, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 29, 2026

Playwright Test Results (oss - depot-ubuntu-latest-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  38.5 seconds
commit  cd1852f
info  🔄 Run: #17113 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-arm-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  43.7 seconds
commit  cd1852f
info  🔄 Run: #17113 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-16)

passed  3 passed

Details

stats  3 tests across 3 suites
duration  30.1 seconds
commit  cd1852f
info  🔄 Run: #17113 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)

passed  2 passed

Details

stats  2 tests across 2 suites
duration  19.3 seconds
commit  cd1852f
info  🔄 Run: #17113 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  39 seconds
commit  ad16b58
info  🔄 Run: #17114 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-arm-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  43.9 seconds
commit  ad16b58
info  🔄 Run: #17114 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)

passed  2 passed

Details

stats  2 tests across 2 suites
duration  42 seconds
commit  ad16b58
info  🔄 Run: #17114 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  37.4 seconds
commit  ad16b58
info  🔄 Run: #17114 (attempt 1)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 29, 2026

Visual Regression

19 screenshots compared. See report for details.
View full report

@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.52%. Comparing base (482f0ff) to head (ad16b58).
⚠️ Report is 16 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #7645    +/-   ##
========================================
  Coverage   98.51%   98.52%            
========================================
  Files        1439     1441     +2     
  Lines       54690    54971   +281     
========================================
+ Hits        53880    54161   +281     
  Misses        810      810            

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@emyller emyller left a comment

Choose a reason for hiding this comment

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

Lezz go!!!

(one question)

Comment thread renovate.json
Comment on lines +15 to +16
"matchManagers": ["uv"],
"addLabels": ["api", "dependencies"]
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.

question: Does the lacking matchFileNames mean we need a default runtime, which includes api/**?

Comment thread renovate.json Outdated
"packageRules": [
{
"matchManagers": ["uv"],
"reviewers": ["team:flagsmith-back-end"],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should be covered by CODEOWNERS

Comment thread renovate.json Outdated
{
"matchManagers": ["npm"],
"matchFileNames": ["frontend/**"],
"reviewers": ["team:flagsmith-front-end"],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should be covered by CODEOWNERS

Comment thread renovate.json Outdated
{
"matchManagers": ["npm"],
"matchFileNames": ["docs/**"],
"reviewers": ["team:flagsmith-docs"],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should be covered by CODEOWNERS

Comment thread renovate.json
Comment on lines +3 to +13
"extends": ["config:base"],
"enabled": false,
"dependencyDashboard": false,
"osvVulnerabilityAlerts": true,
"semanticCommits": "enabled",
"semanticCommitType": "deps",
"semanticCommitScope": null,
"vulnerabilityAlerts": {
"enabled": true
},
"packageRules": [
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks like this is a better expression of what we're looking for?

Suggested change
"extends": ["config:base"],
"enabled": false,
"dependencyDashboard": false,
"osvVulnerabilityAlerts": true,
"semanticCommits": "enabled",
"semanticCommitType": "deps",
"semanticCommitScope": null,
"vulnerabilityAlerts": {
"enabled": true
},
"packageRules": [
"extends": [":disableDependencyDashboard", "security:only-security-updates", "semanticCommitType(deps)"],
"packageRules": [

Comment thread renovate.json
{
"matchManagers": ["uv"],
"reviewers": ["team:flagsmith-back-end"],
"addLabels": ["api", "dependencies"]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit

Suggested change
"addLabels": ["api", "dependencies"]
"addLabels": ["api", "dependencies"],
"semanticCommitScope": "API"

Comment thread renovate.json
"matchManagers": ["npm"],
"matchFileNames": ["frontend/**"],
"reviewers": ["team:flagsmith-front-end"],
"addLabels": ["front-end", "dependencies"]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit

Suggested change
"addLabels": ["front-end", "dependencies"]
"addLabels": ["front-end", "dependencies"],
"semanticCommitScope": "Frontend"

Comment thread renovate.json
"matchManagers": ["npm"],
"matchFileNames": ["docs/**"],
"reviewers": ["team:flagsmith-docs"],
"addLabels": ["docs", "dependencies"]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit

Suggested change
"addLabels": ["docs", "dependencies"]
"addLabels": ["docs", "dependencies"],
"semanticCommitScope": "Docs"

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

Labels

ci-cd Build, test and deployment related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants