<p></p>
<p><b>@Firefishy</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2740#discussion_r461936236">config/locales/check-authors.sh</a>:</p>
<pre style='color:#555'>> +#
+cd `dirname $0`
+
+# Look at just a specific commit range, expressed as "SHA1...SHA2"
+COMMIT_RANGE=$1
+
+# Assume everything will be fine
+STATUS=0
+
+for FILE in *.yml; do
+ # Don't check authorship of en.yml
+ if [ $FILE != en.yml ]; then
+ HUMAN_AUTHOR=`git log --format='%ae' $COMMIT_RANGE -- $FILE | grep -v @translatewiki.net | head -n1`
+ if [ $HUMAN_AUTHOR ]; then
+ # Mark for failure if changes were made by anyone other than translatewiki.net
+ echo Found $HUMAN_AUTHOR in $FILE
</pre>
<p>Likely a good idea to add more output here to explain the policy reason for the failure.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2740#pullrequestreview-457080817">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKAL5UYALU6NKZ2L3TR55IPJANCNFSM4PKYSQBA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLP7GMCETU3PXDR7BG3R55IPJA5CNFSM4PKYSQBKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGODM7H74I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2740#pullrequestreview-457080817",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2740#pullrequestreview-457080817",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>