Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 4.6.2 to 4.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pre-commit/pre-commit/releases">pre-commit's releases</a>.</em></p>
<blockquote>
<h2>pre-commit v4.7.0</h2>
<h3>Fixes</h3>
<ul>
<li>Fix <code>language: node</code> hooks during commit with <code>-a</code> or inside a submodule.
<ul>
<li>Regressed in 4.6.1.</li>
<li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3773">#3773</a> issue by <a href="https://github.com/cbirkhold"><code>@cbirkhold</code></a>.</li>
<li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3774">#3774</a> PR by <a href="https://github.com/cbirkhold"><code>@cbirkhold</code></a>.</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md">pre-commit's changelog</a>.</em></p>
<blockquote>
<h1>4.7.0 - 2026-10-12</h1>
<h3>Fixes</h3>
<ul>
<li>Fix <code>language: node</code> hooks during commit with <code>-a</code> or inside a submodule.
<ul>
<li>Regressed in 4.6.1.</li>
<li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3773">#3773</a> issue by <a href="https://github.com/cbirkhold"><code>@cbirkhold</code></a>.</li>
<li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3774">#3774</a> PR by <a href="https://github.com/cbirkhold"><code>@cbirkhold</code></a>.</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pre-commit/pre-commit/commit/65bb884a567e8be6adc51e8bfbcf26f708eb35a2"><code>65bb884</code></a> v4.7.0</li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/73926c191e10d2ede0ca627632e6e697d8092a61"><code>73926c1</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3774">#3774</a> from cbirkhold/node-no-git-env-npm-install</li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/860d07d18211a0154ffaa4e77bf2a43c2b2473a9"><code>860d07d</code></a> don't leak GIT_* env into <code>npm install</code> for <code>language: node</code></li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/9ad8a0a99acec306e6e9c32490b0088008b83069"><code>9ad8a0a</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3775">#3775</a> from pre-commit/contextlib-chdir</li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/9905e88afc7d860ccf21fba40fc9f5f23e0e0100"><code>9905e88</code></a> use contextlib.chdir</li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/59cb7925317a3c548ccb8cb17bbfb09d81ac8367"><code>59cb792</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3771">#3771</a> from pre-commit/all-repos_autofix_py311-plus</li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/2be170142fb6e0f1402a8bf036b5c9f8dd27fd09"><code>2be1701</code></a> remove triple-nested withs for 3.14 coverage</li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/4c8d22aa125e68c6f45b4f71359c1bd7942f844f"><code>4c8d22a</code></a> py311+</li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/c4292384c94590cd8e6c68f677d95e3675994602"><code>c429238</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3770">#3770</a> from pre-commit/pre-commit-ci-update-config</li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/f49e251f379f2c704e1223a791766e2bc9c78602"><code>f49e251</code></a> [pre-commit.ci] pre-commit autoupdate</li>
<li>Additional commits viewable in <a href="https://github.com/pre-commit/pre-commit/compare/v4.6.2...v4.7.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps pre-commit from 4.6.2 to 4.7.0.
Release notes
Sourced from pre-commit's releases.
Changelog
Sourced from pre-commit's changelog.
Commits
65bb884v4.7.073926c1Merge pull request #3774 from cbirkhold/node-no-git-env-npm-install860d07ddon't leak GIT_* env intonpm installforlanguage: node9ad8a0aMerge pull request #3775 from pre-commit/contextlib-chdir9905e88use contextlib.chdir59cb792Merge pull request #3771 from pre-commit/all-repos_autofix_py311-plus2be1701remove triple-nested withs for 3.14 coverage4c8d22apy311+c429238Merge pull request #3770 from pre-commit/pre-commit-ci-update-configf49e251[pre-commit.ci] pre-commit autoupdateDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)