зеркало из https://github.com/github/docs.git
[2022-10-24]: Dependabot Updates supporting the increase-if-necessary versioning strategy for Python - [GA] #8372 (#31944)
This commit is contained in:
Родитель
99aaaea2c6
Коммит
c0859e564a
|
@ -686,8 +686,8 @@ Available update strategies
|
||||||
| `lockfile-only` | `bundler`, `cargo`, `composer`, `mix`, `npm`, `pip` | Only create pull requests to update lockfiles. Ignore any new versions that would require package manifest changes. |
|
| `lockfile-only` | `bundler`, `cargo`, `composer`, `mix`, `npm`, `pip` | Only create pull requests to update lockfiles. Ignore any new versions that would require package manifest changes. |
|
||||||
| `auto` | `bundler`, `cargo`, `composer`, `mix`, `npm`, `pip` | Follow the default strategy described above.|
|
| `auto` | `bundler`, `cargo`, `composer`, `mix`, `npm`, `pip` | Follow the default strategy described above.|
|
||||||
| `widen`| `composer`, `npm` | Relax the version requirement to include both the new and old version, when possible. |
|
| `widen`| `composer`, `npm` | Relax the version requirement to include both the new and old version, when possible. |
|
||||||
| `increase`| `bundler`, `composer`, `npm` | Always increase the version requirement to match the new version. |
|
| `increase`| `bundler`, `composer`, `npm`{% ifversion dependabot-increase-version-pip-support %}, `pip`{% endif %} | Always increase the version requirement to match the new version. |
|
||||||
| `increase-if-necessary` | `bundler`, `composer`, `npm` | Increase the version requirement only when required by the new version. |
|
| `increase-if-necessary` | `bundler`, `composer`, `npm`{% ifversion dependabot-increase-version-pip-support %}, `pip`{% endif %} | Increase the version requirement only when required by the new version. |
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Customize the manifest version strategy
|
# Customize the manifest version strategy
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Reference: issue #8372
|
||||||
|
# Adding pip support for increase-if-necessary and increase versioning strategies for Dependabot version updates
|
||||||
|
versions:
|
||||||
|
fpt: '*'
|
||||||
|
ghec: '*'
|
||||||
|
ghes: '>= 3.8'
|
||||||
|
ghae: '>= 3.8'
|
Загрузка…
Ссылка в новой задаче