Skip to content

Commit e61c04e

Browse files
rchiodoCopilot
andauthored
Add Dependabot configuration for pip and GitHub Actions (#2041)
* Add Dependabot configuration for pip and GitHub Actions Enables automated dependency and security (CVE) update PRs for the pip test requirements and the GitHub Actions used in workflows. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Address review feedback on dependabot config - Clarify header comment: this file enables version updates only; CVE security updates require the separate repo Settings toggle. - Drop custom 'python' and 'github-actions' labels that Dependabot would silently ignore; keep only the auto-created 'dependencies' label. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 51f0f80 commit e61c04e

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Dependabot configuration for debugpy.
2+
#
3+
# This file configures version updates: Dependabot opens pull requests to keep
4+
# dependencies current so they don't drift far enough to accumulate
5+
# vulnerabilities in the first place.
6+
#
7+
# NOTE: Security (CVE) updates are NOT enabled by this file. They require the
8+
# separate "Dependabot security updates" toggle in repo Settings -> Code
9+
# security. Keeping dependencies current here reduces the surface area for
10+
# those alerts.
11+
#
12+
# Docs: https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
13+
version: 2
14+
updates:
15+
# Python packages used to run and exercise the test suite.
16+
- package-ecosystem: "pip"
17+
directory: "/tests"
18+
schedule:
19+
interval: "weekly"
20+
open-pull-requests-limit: 10
21+
labels:
22+
- "dependencies"
23+
groups:
24+
python-test-dependencies:
25+
patterns:
26+
- "*"
27+
28+
# GitHub Actions used by the workflows in .github/workflows.
29+
- package-ecosystem: "github-actions"
30+
directory: "/"
31+
schedule:
32+
interval: "weekly"
33+
open-pull-requests-limit: 10
34+
labels:
35+
- "dependencies"
36+
groups:
37+
github-actions:
38+
patterns:
39+
- "*"

0 commit comments

Comments
 (0)