Skip to content

Commit 32e66dd

Browse files
committed
Remove redundant empty lines in commit msg
Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
1 parent bf25498 commit 32e66dd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/format_pr_body.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,11 @@ sed -i '/- vLLM .*$/d' "${NEW}"
4141
echo ""
4242
echo "- vLLM version: $VLLM_VERSION"
4343
echo "- vLLM main: $VLLM_COMMIT"
44-
echo ""
4544
} >> "${NEW}"
4645

46+
# Remove redundant empty lines
47+
uniq "${NEW}" | tee "${NEW}"
48+
4749
# Run this only if ${NEW} is different than ${OLD}
4850
if ! cmp -s "${OLD}" "${NEW}"; then
4951
echo

.github/workflows/format_pr_body.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222
pull_request_target:
2323
types: [opened, synchronize]
2424
branches:
25-
- 'main'
25+
- 'main-fake'
2626

2727
permissions:
2828
pull-requests: write

0 commit comments

Comments
 (0)