<h2 dir="auto">Why are the changes necessary?</h2>
<p dir="auto">Replacement PR for <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1939189737" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4286" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4286/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4286">#4286</a></p>
<p dir="auto">The model annotations are not so useful when they are outdated. Automatically checking the model annotations ensures they are up to date.</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/4289'>https://github.com/openstreetmap/openstreetmap-website/pull/4289</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/commits/a4edd3fd04b3f97fcff2fd77977fd2e2324f30d8" class="commit-link">a4edd3f</a>  Annotate models</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/commits/aa573ce1bb82f778ed7f7a84aeceb66a74ff352f" class="commit-link">aa573ce</a>  .github/workflows/lint.yml: Add task verifying annotations are up2date</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/files">15 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/files#diff-107e910e9f2ebfb9a741fa10b2aa7100cc1fc4f5f3aca2dfe78b905cbd73c0d2">.github/workflows/lint.yml</a>
    (24)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/files#diff-d09ea66f8227784ff4393d88a19836f321c915ae10031d16c93d67e6283ab55f">Gemfile</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/files#diff-728b66d9a5cff7625a609dad624d6dc712557207a1790eddf1692ef92b1fd01c">app/models/changeset_comment.rb</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/files#diff-3ce1e0cbd5f25d08bd033ba490fa5e87aa43e1abd54e1c9b017d2a4f06cfa8c1">app/models/friendship.rb</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/files#diff-0858cfa3782c0bba33f9908f6588bfebc08fd0af5a423b77bb5f4d35969f91b6">app/models/note_comment.rb</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/files#diff-af21f2a6890b9476fabf56a98f6af361a066162e95f47407abdea2d157713369">app/models/oauth2_application.rb</a>
    (25)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/files#diff-4ac31a613bb5faf83f0945ee44a63a8feebfde53d5285ad88856650b46cc8e43">app/models/oauth_nonce.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/files#diff-5db6f2fd2ae37c6c561b35eb05d1b8cc8269f2be66904f04456350839ce76a4a">app/models/old_relation.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/files#diff-f510a509c00733955c511f9da416b20f0fb8deb43af469013be592a8e6150326">app/models/old_relation_member.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/files#diff-68f5e5a44fc59dac556dd16880bba8083f2a01315c17f8bc0d7c442b3fe6d7ee">app/models/old_relation_tag.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/files#diff-f5c22ac10c6752867ac4b5758139cac9801401c0d514fa597cfbaa08e099b0c3">app/models/old_way.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/files#diff-dbfb1ec6b34c7e08ecc5402dda7ee5de8b977731153a87658c373c345d400329">app/models/old_way_tag.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/files#diff-354e220f3dd6df0eaf848fcc2f1e3624c2f7841b996f37dc180b36032f1be237">app/models/tracetag.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/files#diff-9802ca3c9c4cf89904fd44bc114e35ebdf2c5dd3d5b645491e2b253e1afef29b">app/models/user.rb</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4289/files#diff-9450d2359e45f1db407b3871dde787a25d60bb721aed179a65ffd2692e95fb4b">lib/tasks/auto_annotate_models.rake</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4289.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4289.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4289.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4289.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/4289">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKO3PFC6TAGLZ5SIXDX7IDGRANCNFSM6AAAAAA576W66U">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNBLQLKKJJKWTFUTITX7IDGRA5CNFSM6AAAAAA576W66WWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHHHTWGYY.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/4289</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/4289",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4289",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>