diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 17ef86497..775cac437 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -7,6 +7,8 @@ assignees: '' --- +# Bug report + ## Expected Behavior diff --git a/.github/ISSUE_TEMPLATE/intermittent_failure.md b/.github/ISSUE_TEMPLATE/intermittent_failure.md index 4bc51adf2..dd21f8ebc 100644 --- a/.github/ISSUE_TEMPLATE/intermittent_failure.md +++ b/.github/ISSUE_TEMPLATE/intermittent_failure.md @@ -7,6 +7,8 @@ assignees: '' --- +# CI Intermittent Failure + diff --git a/scripts/check_format.sh b/scripts/check_format.sh index 4617d7c56..2236d005d 100755 --- a/scripts/check_format.sh +++ b/scripts/check_format.sh @@ -587,16 +587,21 @@ function check_json_rpc() { function check_markdown_format() { local rc=0 - echo -n "Checking markdown files format..." - mdl -s $rootdir/mdl_rules.rb . > mdl.log || true - if [ -s mdl.log ]; then - echo " Errors in .md files detected:" - cat mdl.log - rc=1 + if hash mdl 2> /dev/null; then + echo -n "Checking markdown files format..." + mdl -g -s $rootdir/mdl_rules.rb . > mdl.log || true + if [ -s mdl.log ]; then + echo " Errors in .md files detected:" + cat mdl.log + rc=1 + else + echo " OK" + fi + rm -f mdl.log else - echo " OK" + echo "You do not have markdownlint installed so .md files not being checked!" fi - rm -f mdl.log + return $rc }