Skip to content

Commit

Permalink
docs: outdated remove trustLevel doc references
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Apr 22, 2021
1 parent 4d3cf59 commit 6e40bae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion docs/usage/configuration-options.md
Expand Up @@ -1541,7 +1541,6 @@ If enabled Renovate will pin Docker images by means of their SHA256 digest and n
Post-upgrade tasks are commands that are executed by Renovate after a dependency has been updated but before the commit is created.
The intention is to run any additional command line tools that would modify existing files or generate new files when a dependency changes.

This is only available on Renovate instances that have a `trustLevel` of 'high'.
Each command must match at least one of the patterns defined in `allowedPostUpgradeTasks` in order to be executed.
If the list of allowed tasks is empty then no tasks will be executed.

Expand Down
4 changes: 1 addition & 3 deletions docs/usage/self-hosted-configuration.md
Expand Up @@ -60,14 +60,12 @@ npx ng update @angular/core --from=10.0.0 --to=11.0.0 --migrate-only --allow-dir

A list of regular expressions that determine which commands in `postUpgradeTasks` are allowed to be executed.
If this list is empty then no tasks will be executed.
Also you need to have `"trustLevel": "high"`, otherwise these tasks will be ignored.

e.g.

```json
{
"allowedPostUpgradeCommands": ["^tslint --fix$", "^tslint --[a-z]+$"],
"trustLevel": "high"
"allowedPostUpgradeCommands": ["^tslint --fix$", "^tslint --[a-z]+$"]
}
```

Expand Down

0 comments on commit 6e40bae

Please sign in to comment.