Skip to content

Commit 86f8120

Browse files
winlinvipJackLau1222
authored andcommitted
CICD: Do not present author as coauthor.
1 parent fdde789 commit 86f8120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/format-patch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ if [[ -z "$FIRST_AUTHOR_NAME" || -z "$FIRST_AUTHOR_EMAIL" ]]; then
9393
exit 1
9494
fi
9595

96-
COAUTHORS=$(git log workflows..HEAD --format='Co-authored-by: %an <%ae>' | sort -u)
96+
COAUTHORS=$(git log workflows..HEAD --format='Co-authored-by: %an <%ae>' |grep -v "$FIRST_AUTHOR_NAME" | sort -u)
9797
COAUTHOR_COUNT=$(echo "$COAUTHORS" | wc -l)
9898
if [[ "$COAUTHOR_COUNT" -gt 0 ]]; then
9999
echo "$COAUTHORS"

0 commit comments

Comments
 (0)