Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: allow post upgrade templating by default #23126

Merged
merged 1 commit into from Jul 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/usage/configuration-options.md
Expand Up @@ -2640,6 +2640,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 @@ -66,7 +66,7 @@ const options: RenovateOptions[] = [
type: 'array',
subType: 'string',
parent: 'postUpgradeTasks',
default: [],
default: ['**/*'],
cli: false,
},
{
Expand Down