Skip to content

Commit c87259c

Browse files
mctofumchammer01
andauthored
Dependabot supports gomod indirect dependency filtering (github#33884)
Co-authored-by: mc <[email protected]>
1 parent 34c6ef2 commit c87259c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ Use the `allow` option to customize which dependencies are updated. This applies
174174
| Dependency types | Supported by package managers | Allow updates |
175175
|------------------|-------------------------------|--------|
176176
| `direct` | All | All explicitly defined dependencies. |
177-
| `indirect` | `bundler`, `pip`, `composer`, `cargo` | Dependencies of direct dependencies (also known as sub-dependencies, or transient dependencies).|
178-
| `all` | All | All explicitly defined dependencies. For `bundler`, `pip`, `composer`, `cargo`, also the dependencies of direct dependencies.|
177+
| `indirect` | `bundler`, `pip`, `composer`, `cargo`{% ifversion dependabot-updates-gomod-indirect %}, `gomod`{% endif %} | Dependencies of direct dependencies (also known as sub-dependencies, or transient dependencies).|
178+
| `all` | All | All explicitly defined dependencies. For `bundler`, `pip`, `composer`, `cargo`,{% ifversion dependabot-updates-gomod-indirect %} `gomod`,{% endif %} also the dependencies of direct dependencies.|
179179
| `production` | `bundler`, `composer`, `mix`, `maven`, `npm`, `pip` | Only dependencies in the "Production dependency group". |
180180
| `development`| `bundler`, `composer`, `mix`, `maven`, `npm`, `pip` | Only dependencies in the "Development dependency group". |
181181

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Reference: issue #9042
2+
# gomod ecosystem supports indirect dependencies for Dependabot Updates
3+
versions:
4+
fpt: '*'
5+
ghec: '*'
6+
ghes: '>3.8'

0 commit comments

Comments
 (0)