We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e91dba6 commit 036c53dCopy full SHA for 036c53d
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 [email protected]
65
- if [[ -n "$author_line" ]] && [[ "$author_line" != *"$author_name"* ]] && [[ "$author_line" != *"$author_email"* ]] && [[ "$author_line" != *"AztecBot"* ]] && [[ "$author_line" != *"[email protected]"* ]]; then
+ if [[ -n "$author_line" ]] && [[ "$author_line" != *"$pr_author"* ]] && [[ "$author_line" != *"$author_email"* ]] && [[ "$author_line" != *"AztecBot"* ]] && [[ "$author_line" != *"[email protected]"* ]]; then
66
co_authors="${co_authors}Co-authored-by: ${author_line}
67
"
68
fi
0 commit comments