Skip to content

Commit e4d1177

Browse files
authored
Add dependabot.yml to help control automatic PR behavior (#622)
## Summary <!-- Provide a brief description of the changes in this PR --> Adds config to control dependabot behavior. This PR is in response to the internal Slack thread [here](https://dbt-labs.slack.com/archives/C08JCDZDECB/p1772495075910279) on constant up-keep of security bumps to `examples/` manifests. Behavior: - Allow security updates to the root manifest (uv) and the `ui/` folder (npm) - Prevent automatic "latest" version updates - Therefore, dependabot will open PRs for security vulnerabilities for production code ## Checklist - [ ] I have performed a self-review of my code - [ ] I have made corresponding changes to the documentation (in https://github.com/dbt-labs/docs.getdbt.com) if required -- Mention it here - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes ## Additional Notes <!-- Any additional information that would be helpful for reviewers --> Docs to reference: - [depandabots.yml](https://docs.github.com/en/code-security/concepts/supply-chain-security/about-the-dependabot-yml-file) - [exclude-paths config](https://github.blog/changelog/2025-08-26-dependabot-can-now-exclude-automatic-pull-requests-for-manifests-in-selected-subdirectories/) - [open-pull-request-limit config](https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference#open-pull-requests-limit-) Tested locally with Claude Code + [Dependabot CLI](https://github.com/dependabot/cli) 🤖
1 parent c54d945 commit e4d1177

3 files changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
kind: Under the Hood
2+
body: Add dependabot YML config
3+
time: 2026-03-03T07:12:10.394855-08:00

.github/dependabot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "uv"
4+
directory: "/"
5+
# Ignore version update PRs - security updates remain active
6+
open-pull-requests-limit: 0
7+
exclude-paths:
8+
- "examples/**"
9+
schedule:
10+
interval: "weekly"
11+
12+
- package-ecosystem: "npm"
13+
directory: "/ui"
14+
# Ignore version update PRs - security updates remain active
15+
open-pull-requests-limit: 0
16+
schedule:
17+
interval: "weekly"

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ The dbt MCP server architecture allows for your agent to connect to a variety of
100100

101101
Commonly, you will connect the dbt MCP server to an agent product like Claude or Cursor. However, if you are interested in creating your own agent, check out [the examples directory](https://github.com/dbt-labs/dbt-mcp/tree/main/examples) for how to get started.
102102

103+
## Dependencies
104+
105+
Dependencies are pinned to specific versions and are not updated automatically. Only security-related dependency updates are submitted via automated pull requests.
106+
103107
## Contributing
104108

105109
Read `CONTRIBUTING.md` for instructions on how to get involved!

0 commit comments

Comments
 (0)