Skip to content

Commit ab69ae2

Browse files
committed
ci: add Dependabot config scoped to the project (exclude vendored test fixtures)
Configure weekly Gradle and GitHub Actions updates for the analyzer itself, and deliberately leave src/test/resources/test-applications/** out so Dependabot does not raise update PRs against the vendored sample apps used as analysis fixtures.
1 parent 753915e commit ab69ae2

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Dependabot configuration.
2+
#
3+
# Scope is deliberately limited to this project's own manifests: the analyzer's
4+
# Gradle build and the GitHub Actions workflows. The applications under
5+
# src/test/resources/test-applications/** are vendored third-party samples used
6+
# only as analysis fixtures — their dependencies are test-scoped, never executed
7+
# and never shipped, so we do not want Dependabot raising version-bump PRs
8+
# against them (e.g. daytrader8's Derby, which has no Java-8-compatible patched
9+
# release). Note: this controls Dependabot's automated update PRs; the repo-wide
10+
# vulnerability *alerts* from the dependency graph are not path-scoped here, so a
11+
# fixture alert may still surface and should be triaged/dismissed on its merits.
12+
version: 2
13+
updates:
14+
- package-ecosystem: "gradle"
15+
directory: "/"
16+
schedule:
17+
interval: "weekly"
18+
19+
- package-ecosystem: "github-actions"
20+
directory: "/"
21+
schedule:
22+
interval: "weekly"

0 commit comments

Comments
 (0)