Add markdownlint CI for blog posts - #806
Open
TineoC wants to merge 3 commits into
Open
Conversation
Contributor
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: TineoC The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Contributor
Author
|
/hold |
TineoC
force-pushed
the
chore/add-markdownlint-blog-ci
branch
from
July 1, 2026 10:39
7accfee to
33d30a5
Compare
Contributor
Author
=== PR #796 — Draft: Add blog editor onboarding guide ===
stdin:73 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
stdin:116:17 error MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]
stdin:131 error MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "ALWAYS CHECK ON MOBILE TOO"]
stdin:168:39 error MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]
stdin:191:19 error MD026/no-trailing-punctuation Trailing punctuation in heading [Punctuation: '!']
stdin:221 error MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]
stdin:223:21 error MD047/single-trailing-newline Files should end with a single newline character
=== PR #795 — Draft: KCD NY ===
stdin:17 error MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]
stdin:18:13 error MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]
stdin:18 error MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Picture-1"]
stdin:21:13 error MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]
stdin:21 error MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Picture-2"]
stdin:24 error MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## Picture-3"] |
- Extract inline CI logic into hack/lint-blogs.sh script - Add lint-blogs and print-node-version Makefile targets - Convert .markdownlint.json to .markdownlint.jsonc with inline comments - Disable MD060 table column style rule - Add markdownlint-cli dev dependency - Read NODE_VERSION from netlify.toml instead of hardcoding
TineoC
force-pushed
the
chore/add-markdownlint-blog-ci
branch
from
July 1, 2026 10:59
d7408db to
8691015
Compare
Contributor
Author
|
/unhold |
Contributor
Author
CI passes LINT_BLOGS_WARN_ONLY=1 so findings show as GitHub warning annotations and do not fail the check, allowing maintainers to merge. Local make lint-blogs still fails by default.
Contributor
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Run markdownlint on new/modified blog posts in any language during pull requests.
Refs: kubernetes/website#54795