Skip to content

feat: setup Dependabot for kubeflow/notebooks - #1014

Merged
google-oss-prow[bot] merged 1 commit into
kubeflow:mainfrom
christian-heusel:feat/add-dependabot
Apr 23, 2026
Merged

google-oss-prow[bot] merged 1 commit into
kubeflow:mainfrom
christian-heusel:feat/add-dependabot

Conversation

@christian-heusel

@christian-heusel christian-heusel commented Apr 4, 2026 •

Copy link
Copy Markdown
Member

Main things to note about this setup are the following ones:

  • We target three different branches (main, notebooks-v1, notebooks-v2) via the target-branch directive
  • The cooldown option delays updates a little to as a prevention mechanism for supply-chain attacks, similar to the min-release-age in NPM (see ci: set min age for npm installed packages #1003)
  • We try to group dependencies where sensible, however this will most likely need a bit of iteration
  • Only allow non-breaking upgrades for things like the k8s packges and angular
  • Part of the configuration for notebooks-v1 is disabled to keep a good signal-to-noise ratio when starting out

Fixes #818

cc @jenny-s51 who did the initial version of this in #819
cc @andyatmiami who also gave a lot of input during development


I have already used this in a separate repository to evaluate it, checkout https://github.com/christian-heusel/notebooks-playground if you want to have a look!

@christian-heusel

Copy link
Copy Markdown
Member Author

/ok-to-test

@andyatmiami andyatmiami 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.

thanks for driving forward on this @christian-heusel

just a couple comments to address and/or respond to:

  • angular in frontend for notebooks-v2 seems like a copy/paste error
  • i'm not convinced the docker section really provides much value right now

Comment thread .github/dependabot.yml Resolved
Comment thread .github/dependabot.yml Resolved
Main things to note about this setup are the following ones:

- We target three different branches (`main`, `notebooks-v1`,
  `notebooks-v2`) via the `target-branch` directive
- The `cooldown` option delays updates a little to as a prevention
  mechanism for supply-chain attacks, similar to the `min-release-age`
  in NPM
- We try to group dependencies where sensible, however this will most
  likely need a bit of iteration
- Only allow non-breaking upgrades for things like the k8s packges and
  angular
- Disable some targets that can be re-enabled later on

Fixes kubeflow#818

Signed-off-by: Christian Heusel <christian@heusel.eu>

@andyatmiami andyatmiami 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.

Thanks for addressing feedback @christian-heusel - just wanna get some thoughts from frontend folks in case they have strong opinions on what this should look like out the gate ...

Comment thread .github/dependabot.yml Resolved
Comment thread .github/dependabot.yml Resolved
@andyatmiami

Copy link
Copy Markdown
Contributor

/lgtm

@thesuperzapper - need you to approve as this lives on main branch

@thesuperzapper

Copy link
Copy Markdown
Member

Thanks this is great to start automatically telling us about dependency updates, we can uncommnent the notebooks-v2 ones once we have E2E tests and are more confident in merging updates.

/approve

@google-oss-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: thesuperzapper

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow
google-oss-prow Bot merged commit 1bc42b7 into kubeflow:main Apr 23, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from Needs Triage to Done in Kubeflow Notebooks Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[TASK] Add Dependabot for automated dependency updates

4 participants