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

Compare Source

Fixes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻️ Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • 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}}![age](https://developer.mend.io/api/mc/badges/age/{{datasource}}/{{replace '/' '%2f' packageName}}/{{{newVersion}}}?slim=true){{/if}}",
      "Adoption": "{{#if newVersion}}![adoption](https://developer.mend.io/api/mc/badges/adoption/{{datasource}}/{{replace '/' '%2f' packageName}}/{{{newVersion}}}?slim=true){{/if}}",
      "Passing": "{{#if newVersion}}![passing](https://developer.mend.io/api/mc/badges/compatibility/{{datasource}}/{{replace '/' '%2f' packageName}}/{{{currentVersion}}}/{{{newVersion}}}?slim=true){{/if}}",
      "Confidence": "{{#if newVersion}}![confidence](https://developer.mend.io/api/mc/badges/confidence/{{datasource}}/{{replace '/' '%2f' packageName}}/{{{currentVersion}}}/{{{newVersion}}}?slim=true){{/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)"
  }
]

Merge request reports

Loading
Loading