Skip to content

Commit 99a9334

Browse files
ci: Add coding standards information
If the job fails inform about coding standards.
1 parent 25e7f1d commit 99a9334

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/check_compliance.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,15 @@ jobs:
4545
shell: bash
4646
run: |
4747
set +e
48+
INFO_URL="https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md"
4849
git diff -U0 origin/master...HEAD > diff.patch
4950
clang-format-diff -p1 -style=file < diff.patch > clang-fmt.patch
5051
if [ -s clang-fmt.patch ]; then
5152
echo "Code formatting issues found:"
5253
cat clang-fmt.patch
54+
echo ""
55+
echo "For formatting guidelines, see:"
56+
echo " $INFO_URL"
5357
else
5458
echo "All good, no formatting issues."
5559
fi

0 commit comments

Comments
 (0)