Skip to content

Commit efe9cce

Browse files
committed
fix: add missing debug logs for author email checks in Copilot reassignment workflow
1 parent 75395f2 commit efe9cce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/reassign-copilot-commits.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,15 @@ jobs:
5959
echo "Checking commit: $COMMIT"
6060
AUTHOR_EMAIL=$(git show -s --format='%ae' $COMMIT)
6161
echo "Author email: $AUTHOR_EMAIL"
62+
IFS=$'\n'
6263
for EMAIL in $COPILOT_EMAILS; do
6364
echo "Checking against Copilot email: $EMAIL"
6465
if [ "$AUTHOR_EMAIL" = "$EMAIL" ]; then
6566
FOUND=1
6667
break
6768
fi
6869
done
70+
unset IFS
6971
done
7072
echo "COPILOT_FOUND=$FOUND" >> $GITHUB_ENV
7173
echo "found=$FOUND" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)