docs: document automerge for vulnerabilityAlerts (#14442)

This commit is contained in:
Bacluc 2022-02-28 17:39:32 +01:00 committed by GitHub
parent 655e31d1ab
commit 6e065ff9e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2740,11 +2740,16 @@ For example, to configure custom labels and assignees:
{ {
"vulnerabilityAlerts": { "vulnerabilityAlerts": {
"labels": ["security"], "labels": ["security"],
"automerge": true,
"assignees": ["@rarkins"] "assignees": ["@rarkins"]
} }
} }
``` ```
<!-- prettier-ignore -->
!!! warning
There's a small chance that an incorrect vulnerability alert could result in flapping/looping vulnerability fixes, so observe carefully if enabling `automerge`.
To disable the vulnerability alerts functionality completely, configure like this: To disable the vulnerability alerts functionality completely, configure like this:
```json ```json