Skip to content

Commit e58cf4e

Browse files
TrottBethGriggs
authored andcommitted
tools: flag README/mailmap mismatches in find-inactive-collaborators
PR-URL: #39477 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent d16d36f commit e58cf4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/find-inactive-collaborators.mjs

+3
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ async function getCollaboratorsFromReadme() {
7979
const mailmap = await runGitCommand(
8080
`git check-mailmap '${name} <${email}>'`
8181
);
82+
if (mailmap !== `${name} <${email}>`) {
83+
console.log(`README entry for Collaborator does not match mailmap:\n ${name} <${email}> => ${mailmap}`);
84+
}
8285
returnedArray.push({
8386
name,
8487
email,

0 commit comments

Comments
 (0)