Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo sync #33891

Merged
merged 1 commit into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@
interval: "weekly"
```

{% data reusables.dependabot.multidirectory-vs-pr-grouping %} For more information about grouping, see "[`groups`](#groups)."

{% endif %}

### `schedule.interval`
Expand Down Expand Up @@ -300,8 +302,8 @@
| Dependency types | Supported by package managers | Allow updates |
|------------------|-------------------------------|--------|
| `direct` | All | All explicitly defined dependencies. |
| `indirect` | `bundler`, `pip`, `composer`, `cargo`{% ifversion dependabot-updates-gomod-indirect %}, `gomod`{% endif %} | Dependencies of direct dependencies (also known as sub-dependencies, or transient dependencies).|

Check warning on line 305 in content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md

View workflow job for this annotation

GitHub Actions / lint-content

Liquid `ifversion` (and `elsif`) should not always be true

The Liquid ifversion condition 'dependabot-updates-gomod-indirect' includes all possible versions and will always be true.
| `all` | All | All explicitly defined dependencies. For `bundler`, `pip`, `composer`, `cargo`,{% ifversion dependabot-updates-gomod-indirect %} `gomod`,{% endif %} also the dependencies of direct dependencies.|

Check warning on line 306 in content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md

View workflow job for this annotation

GitHub Actions / lint-content

Liquid `ifversion` (and `elsif`) should not always be true

The Liquid ifversion condition 'dependabot-updates-gomod-indirect' includes all possible versions and will always be true.
| `production` | `bundler`, `composer`, `mix`, `maven`, `npm`, `pip` | Only dependencies in the "Production dependency group". |
| `development`| `bundler`, `composer`, `mix`, `maven`, `npm`, `pip` | Only dependencies in the "Development dependency group". |

Expand Down Expand Up @@ -459,6 +461,12 @@

{% data reusables.dependabot.dependabot-version-updates-groups-yaml-example %}

{% ifversion dependabot-grouped-security-updates-config %}

{% data reusables.dependabot.multidirectory-vs-pr-grouping %} For more information about multidirectory support, see "[`directories`](#directories)."

{% endif %}

{% endif %}

### `ignore`
Expand Down Expand Up @@ -1040,9 +1048,9 @@
* Docker
* Gradle
* Maven
* npm

Check warning on line 1051 in content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md

View workflow job for this annotation

GitHub Actions / lint-content

First word of list item should be capitalized

Expected: Npm.
* Nuget{% ifversion dependabot-updates-pub-private-registry %}
* pub{% endif %}

Check warning on line 1053 in content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md

View workflow job for this annotation

GitHub Actions / lint-content

First word of list item should be capitalized

Expected: Pub{%.
* Python
* Yarn

Expand Down Expand Up @@ -1184,7 +1192,7 @@

{% endraw %}

{% ifversion dependabot-hex-self-hosted-support %}

Check warning on line 1195 in content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md

View workflow job for this annotation

GitHub Actions / lint-content

Liquid `ifversion` (and `elsif`) should not always be true

The Liquid ifversion condition 'dependabot-hex-self-hosted-support' includes all possible versions and will always be true.

### `hex-repository`

Expand Down
5 changes: 5 additions & 0 deletions data/reusables/dependabot/multidirectory-vs-pr-grouping.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Multidirectory support is different than update grouping in pull requests.
* The `directories` option in the `dependabot.yml` file allows you to apply {% data variables.product.prodname_dependabot_updates %} to multiple directories at the same time.
* The `groups` option in the `dependabot.yml` file creates sets of dependencies (per package manager) for {% data variables.product.prodname_dependabot %} to put in the same single pull request.

If you want to use both features on your repositories, you need to enable these features independently and explicitly by using the two keys described above.
Loading