<p dir="auto">As suggested in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2408474660" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4988" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4988/hovercard?comment_id=2285568484&comment_type=issue_comment" href="https://github.com/openstreetmap/openstreetmap-website/pull/4988#issuecomment-2285568484">#4988 (comment)</a> this adds support overcommit to install git gooks to run checks.</p>
<p dir="auto">With this change <code class="notranslate">bundle exec overcommit --install</code> will install hooks to run a variety of checks.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/5100'>https://github.com/openstreetmap/openstreetmap-website/pull/5100</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5100/commits/f40c760d4f1383a27130c974ea7d98e23ca3fd4c" class="commit-link">f40c760</a>  Add overcommit to manage git hooks</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5100/files">6 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5100/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947">.gitignore</a>
    (1)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5100/files#diff-404420c9aa42747ecdf99635b6d177033185ca258cfe6f595073426388f5631f">.overcommit.yml</a>
    (45)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5100/files#diff-d09ea66f8227784ff4393d88a19836f321c915ae10031d16c93d67e6283ab55f">Gemfile</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5100/files#diff-89cade48462044ee1b672dc5f4c3ec250fbd29effcd8932096a23c1283c6731f">Gemfile.lock</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5100/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519">package.json</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5100/files#diff-51e4f558fae534656963876761c95b83b6ef5da5103c4adef6768219ed76c2de">yarn.lock</a>
    (5)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5100.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5100.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5100.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5100.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5100">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIJDCMCQEIA2LQN3RDZSN46BAVCNFSM6AAAAABM2L6Z6GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3TMMJYGM4DOOI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPL7LI2OLNTKHH6JFDZSN46BA5CNFSM6AAAAABM2L6Z6GWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHJHF4RI4.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5100</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5100",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5100",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>