-
Notifications
You must be signed in to change notification settings - Fork 65.3k
Closed
Labels
code securityContent related to code securityContent related to code securitycontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamdependabotContent related to DependabotContent related to Dependabot
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
The docs currently contain an example of using the groups parameter. I think it has the wrong level of indentation: the groups key should be under updates, not at the top level of the YAML config.
Here's the current example, which I think is wrong:
# `dependabot.yml` file using the `update-types` option to group updates.
# Any packages matching the pattern @angular* where the highest resolvable
# version is minor or patch will be grouped together.
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
groups:
angular:
patterns:
- "@angular*"
update-types:
- "minor"
- "patch"
This would lead to an error like:
The property '#/' contains additional properties ["groups"] outside of the schema when none are allowed
Additional information
No response
fadaile and DenverCoder1
Metadata
Metadata
Assignees
Labels
code securityContent related to code securityContent related to code securitycontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamdependabotContent related to DependabotContent related to Dependabot