Loading
Update pre-commit hook pre-commit/pre-commit to v4.7.0 (main)
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| pre-commit/pre-commit | repository | minor | v4.6.2 → v4.7.0 |
Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.
Release Notes
pre-commit/pre-commit (pre-commit/pre-commit)
v4.7.0: pre-commit v4.7.0
Fixes
- Fix
language: nodehooks during commit with-aor inside a submodule.- Regressed in 4.6.1.
- #3773 issue by @cbirkhold.
- #3774 MR by @cbirkhold.
Configuration
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
- If you want to rebase/retry this MR, check this box
Renovate upgrades detailed information
[
{
"gitAuthor": "Sylva Renovate bot <service_account_group_59800588_0f6fd8e977a6c86f7522a46f254943dc@noreply.gitlab.com>",
"versioning": "semver-coerced",
"separateMajorMinor": true,
"separateMinorPatch": true,
"branchPrefix": "renovate/main-",
"semanticCommitType": "chore",
"semanticCommitScope": "deps",
"branchName": "renovate/main-pre-commit-pre-commit-4.x",
"additionalBranchPrefix": "",
"branchTopic": "{{{depNameSanitized}}}-{{{newMajor}}}{{#if separateMinorPatch}}{{#if isPatch}}.{{{newMinor}}}{{/if}}{{/if}}{{#if separateMultipleMinor}}{{#if isMinor}}.{{{newMinor}}}{{/if}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"commitMessage": "{{{commitMessagePrefix}}} {{{commitMessageAction}}} {{{commitMessageTopic}}} {{{commitMessageExtra}}} {{{commitMessageSuffix}}}",
"commitBody": null,
"commitMessagePrefix": null,
"commitMessageAction": "Update",
"commitMessageTopic": "pre-commit hook {{depName}}",
"commitMessageExtra": "to {{#if isPinDigest}}{{{newDigestShort}}}{{else}}{{#if isMajor}}{{prettyNewMajor}}{{else}}{{#if isSingleVersion}}{{prettyNewVersion}}{{else}}{{#if newValue}}{{{newValue}}}{{else}}{{{newDigestShort}}}{{/if}}{{/if}}{{/if}}{{/if}}",
"commitMessageSuffix": null,
"prTitle": null,
"groupSlug": null,
"labels": [],
"addLabels": [
"renovate",
"renovate",
"AutoMerge",
"dependencies::minor",
"AutoMerge",
"dependencies::minor"
],
"prBodyDefinitions": {
"Package": "{{{depNameLinked}}}{{#if newName}}{{#unless (equals depName newName)}} → {{{newNameLinked}}}{{/unless}}{{/if}}",
"Type": "{{{depType}}}",
"Update": "{{{updateType}}}",
"Current value": "{{{currentValue}}}",
"New value": "{{{newValue}}}",
"Change": "`{{{displayFrom}}}` → `{{{displayTo}}}`",
"Pending": "{{{displayPending}}}",
"References": "{{{references}}}",
"Package file": "{{{packageFile}}}",
"Age": "{{#if newVersion}}{{/if}}",
"Adoption": "{{#if newVersion}}{{/if}}",
"Passing": "{{#if newVersion}}{{/if}}",
"Confidence": "{{#if newVersion}}{{/if}}"
},
"prBodyColumns": [
"Package",
"Type",
"Update",
"Change",
"Pending"
],
"prBodyNotes": [
"Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions."
],
"repository": "sylva-projects/sylva-elements/ci-tooling/sylva-test-framework",
"parentOrg": "sylva-projects/sylva-elements/ci-tooling",
"topLevelOrg": "sylva-projects",
"baseBranch": "main",
"manager": "pre-commit",
"packageFile": ".pre-commit-config.yaml",
"parentDir": "",
"packageFileDir": "",
"currentValue": "v4.6.2",
"currentVersion": "v4.6.2",
"currentVersionAgeInDays": 77,
"currentVersionTimestamp": "2026-08-10T22:08:59.000Z",
"datasource": "github-tags",
"depName": "pre-commit/pre-commit",
"depType": "repository",
"isSingleVersion": true,
"packageName": "pre-commit/pre-commit",
"sourceUrl": "https://github.com/pre-commit/pre-commit",
"newVersion": "v4.7.0",
"newValue": "v4.7.0",
"releaseTimestamp": "2026-10-13T15:35:39.000Z",
"newVersionAgeInDays": 14,
"newMajor": 4,
"newMinor": 7,
"newPatch": 0,
"updateType": "minor",
"isMinor": true,
"depNameSanitized": "pre-commit-pre-commit",
"sourceRepoSlug": "pre-commit-pre-commit",
"sourceRepo": "pre-commit/pre-commit",
"sourceRepoOrg": "pre-commit",
"sourceRepoName": "pre-commit",
"recreateClosed": false,
"displayFrom": "v4.6.2",
"displayTo": "v4.7.0",
"prettyNewVersion": "v4.7.0",
"prettyNewMajor": "v4",
"depTypes": [
"repository"
],
"displayPending": "",
"prettyDepType": "repository",
"isRange": false,
"logJSON": {
"project": {
"repository": "pre-commit/pre-commit",
"sourceUrl": "https://github.com/pre-commit/pre-commit",
"packageName": "pre-commit/pre-commit",
"depName": "pre-commit/pre-commit"
},
"versions": [
{
"version": "v4.7.0",
"releaseNotes": {
"url": "https://github.com/pre-commit/pre-commit/releases/tag/v4.7.0",
"body": "##### Fixes\n\n- Fix `language: node` hooks during commit with `-a` or inside a submodule.\n - Regressed in 4.6.1.\n - [#3773](https://github.com/pre-commit/pre-commit/issues/3773) issue by [@cbirkhold](https://github.com/cbirkhold).\n - [#3774](https://github.com/pre-commit/pre-commit/issues/3774) MR by [@cbirkhold](https://github.com/cbirkhold).\n"
}
}
],
"hasReleaseNotes": true
},
"hasReleaseNotes": true,
"releases": [
{
"version": "v4.7.0",
"releaseNotes": {
"url": "https://github.com/pre-commit/pre-commit/releases/tag/v4.7.0",
"body": "##### Fixes\n\n- Fix `language: node` hooks during commit with `-a` or inside a submodule.\n - Regressed in 4.6.1.\n - [#3773](https://github.com/pre-commit/pre-commit/issues/3773) issue by [@cbirkhold](https://github.com/cbirkhold).\n - [#3774](https://github.com/pre-commit/pre-commit/issues/3774) MR by [@cbirkhold](https://github.com/cbirkhold).\n"
}
}
],
"depNameLinked": "[pre-commit/pre-commit](https://github.com/pre-commit/pre-commit)",
"newNameLinked": "[undefined](https://github.com/pre-commit/pre-commit)",
"references": "[source](https://github.com/pre-commit/pre-commit)"
}
]