Skip to content
Snippets Groups Projects
Commit 6e40baea authored by Rhys Arkins's avatar Rhys Arkins
Browse files

docs: outdated remove trustLevel doc references

parent 4d3cf598
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
......@@ -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]+$"]
}
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment