Skip to content
Snippets Groups Projects
Unverified Commit 8a2939e2 authored by Martine Lenders's avatar Martine Lenders Committed by GitHub
Browse files

Merge pull request #8023 from aabadie/pr/fix_static_test_squashing

dist/tools/pr_check: fix regex pattern to recognize any SHA
parents 6eaffbb2 dcc1ae39
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ else
fi
SQUASH_COMMITS="$(git log $(git merge-base HEAD "${RIOT_MASTER}")...HEAD --pretty=format:" %h %s" | \
grep -i -e "^ [0-9a-f]\{7\} .\{0,2\}SQUASH" -e "^ [0-9a-f]\{7\} .\{0,2\}FIX")"
grep -i -e "^ [0-9a-f]\+ .\{0,2\}SQUASH" -e "^ [0-9a-f]\+ .\{0,2\}FIX")"
if [ -n "${SQUASH_COMMITS}" ]; then
echo -e "${CERROR}Pull request needs squashing:${CRESET}" 1>&2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment