Skip to content

Commit 56631ae

Browse files
joshjohanningCopilotCopilotmchammer01
authored
docs: update grouped dependabot security updates example to include required keys (#60491)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
1 parent 415d649 commit 56631ae

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

content/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/customizing-dependabot-security-prs.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@ updates:
127127
assignees:
128128
- "user-name"
129129
- package-ecosystem: "gomod"
130+
directories:
131+
- "**/*"
132+
schedule:
133+
interval: "weekly"
134+
open-pull-requests-limit: 0
130135
groups:
131136
# Group security updates for golang dependencies
132137
# into a single pull request

content/code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/configuring-dependabot-security-updates.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@ updates:
110110
registries:
111111
- example
112112
- package-ecosystem: "gomod"
113+
directories:
114+
- "**/*"
115+
schedule:
116+
interval: "weekly"
117+
open-pull-requests-limit: 0
113118
groups:
114119
golang:
115120
applies-to: security-updates
@@ -118,7 +123,7 @@ updates:
118123
```
119124
120125
> [!NOTE]
121-
> In order for {% data variables.product.prodname_dependabot %} to use this configuration for security updates, the `directory` must be the path to the manifest files, and you should not specify a `target-branch`.
126+
> In order for {% data variables.product.prodname_dependabot %} to use this configuration for security updates, the `directory` must be the path to the manifest files (or `directories` must contain paths or glob patterns matching the manifest file locations), and you should not specify a `target-branch`.
122127

123128
## Further reading
124129

0 commit comments

Comments
 (0)