Skip to content

Commit 40cd33d

Browse files
committed
Restrict Dependabot updates to direct dependencies
Configure Dependabot to only open pull requests for direct dependencies, reducing noise from transitive updates and keeping changes more relevant and easier to review. Approach recommended in GOV.UK Developer Docs. https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference#dependency-type-allow
1 parent 3b078aa commit 40cd33d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ updates:
66
interval: weekly
77
day: tuesday
88
time: "07:00"
9+
allow:
10+
- dependency-type: direct
911
ignore:
1012
- dependency-name: pact
1113
versions: [ ">=2.0.0" ]

0 commit comments

Comments
 (0)