Skip to content

Commit

Permalink
add a new markdown lint rule and update text
Browse files Browse the repository at this point in the history
  • Loading branch information
JackDevAU authored Dec 14, 2023
1 parent 7ba8819 commit 41d6e2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
FILE_ANCHOR=$(echo "$FILE_NAME" | sed 's/\./-/g')
PR_COMMENT+="| [$FILE_PATH](https://github.com/$REPO_FULL_NAME/pull/$PR_NUMBER/files#$FILE_ANCHOR) | Line $LINE_NUM: $ERROR_DESC | [Rule $RULE_ID]($RULES_DOCS_URL#$RULE_ID) |\n"
done < lint-results.txt
PR_COMMENT+="\nPlease review the errors and update your Markdown files accordingly.\n"
PR_COMMENT+="\nPlease review and update your Markdown files accordingly.\n"
echo -e "$PR_COMMENT" > pr_comment.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion .markdownlint/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
},
"MD046": false,
"MD013": false,
"MD033": false
"MD033": false,
"MD036": false
}

0 comments on commit 41d6e2f

Please sign in to comment.