Skip to content

Commit

Permalink
fix web flow co-authoring
Browse files Browse the repository at this point in the history
Signed-off-by: ClaytonTDM <[email protected]>
  • Loading branch information
ClaytonTDM committed Oct 9, 2024
1 parent bf47c8b commit 84d205c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion game/cl.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
const itemText = document.createElement("pre");
const authorName = commit.commit.author.name;
let committerName = commit.commit.committer.name;
const committerLogin = commit.committer.login;
const commitMessage = commit.commit.message;
const coAuthors = [];
if (committerName === "GitHub Action") {
Expand All @@ -30,7 +31,7 @@
while ((match = coAuthorRegex.exec(commitMessage)) !== null) {
coAuthors.push(match[1]);
}
if (committerName !== authorName) {
if (committerName !== authorName && !(committerName === "GitHub" && committerLogin === "web-flow")) {
coAuthors.push(committerName);
}
let allAuthors;
Expand Down

0 comments on commit 84d205c

Please sign in to comment.