Skip to content

Commit 2e6ca45

Browse files
committed
more logs
1 parent c4b6f12 commit 2e6ca45

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/scripts/find_new_boards.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ fi
2727
# Compare boards.txt file in the repo with the modified file
2828
diff=$(diff -u boards.txt boards_pr.txt)
2929

30+
# Check if the diff is empty
31+
if [ -z "$diff" ]
32+
then
33+
echo "No changes in boards.txt file"
34+
echo "FQBNS="
35+
exit 0
36+
fi
37+
3038
# Print the diff
3139
echo "Diff:"
3240
echo "$diff"

0 commit comments

Comments
 (0)