Skip to content

Commit

Permalink
feat!: allow post upgrade templating by default (#23126)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jul 4, 2023
1 parent 70180b6 commit e28fee5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions docs/usage/configuration-options.md
Expand Up @@ -2602,6 +2602,9 @@ You can use variable templating in your commands as long as [`allowPostUpgradeCo
A list of glob-style matchers that determine which files will be included in the final commit made by Renovate.
Dotfiles are included.

Optional field which defaults to any non-ignored file in the repo (`**/*` glob pattern).
Specify a custom value for this if you wish to exclude certain files which are modified by your `postUpgradeTasks` and you don't want committed.

### executionMode

Defaults to `update`, but can also be set to `branch`.
Expand Down
3 changes: 1 addition & 2 deletions docs/usage/self-hosted-configuration.md
Expand Up @@ -40,8 +40,7 @@ The command to install dependencies (`npm ci --ignore-scripts`) is needed becaus
"commands": [
"npm ci --ignore-scripts",
"npx ng update {{{depName}}} --from={{{currentVersion}}} --to={{{newVersion}}} --migrate-only --allow-dirty --force"
],
"fileFilters": ["**/**"]
]
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion lib/config/options/index.ts
Expand Up @@ -65,7 +65,7 @@ const options: RenovateOptions[] = [
type: 'array',
subType: 'string',
parent: 'postUpgradeTasks',
default: [],
default: ['**/*'],
cli: false,
},
{
Expand Down

0 comments on commit e28fee5

Please sign in to comment.