1 parent e91dba6 commit 036c53dCopy full SHA for 036c53d
1 file changed
scripts/merge-train/squash-pr.sh
@@ -62,7 +62,7 @@ authors_info=$(git log "$merge_base..$original_head" --no-merges --format='%an <
62
co_authors=""
63
while IFS= read -r author_line; do
64
# Skip empty lines, the main PR author, AztecBot, and tech@aztecprotocol.com
65
- if [[ -n "$author_line" ]] && [[ "$author_line" != *"$author_name"* ]] && [[ "$author_line" != *"$author_email"* ]] && [[ "$author_line" != *"AztecBot"* ]] && [[ "$author_line" != *"tech@aztecprotocol.com"* ]]; then
+ if [[ -n "$author_line" ]] && [[ "$author_line" != *"$pr_author"* ]] && [[ "$author_line" != *"$author_email"* ]] && [[ "$author_line" != *"AztecBot"* ]] && [[ "$author_line" != *"tech@aztecprotocol.com"* ]]; then
66
co_authors="${co_authors}Co-authored-by: ${author_line}
67
"
68
fi
0 commit comments