Skip to content

ci: add markdownlint + htmlhint workflow#2

Merged
charlesgreen merged 2 commits intomainfrom
chore/add-lint-workflow
May 3, 2026
Merged

ci: add markdownlint + htmlhint workflow#2
charlesgreen merged 2 commits intomainfrom
chore/add-lint-workflow

Conversation

@charlesgreen
Copy link
Copy Markdown
Contributor

@charlesgreen charlesgreen commented May 3, 2026

Summary

Adds a Lint workflow that runs on push to main and on PRs:

  • markdownlint-cli2 against content/**/*.md (mirrors make lint-md)
  • Hugo build + htmlhint against the built site (mirrors make lint-html)

Why now

This also resolves a Dependabot failure on main: the bootstrap commit added a github-actions ecosystem entry to .github/dependabot.yml, but there were no workflow files for Dependabot to scan, so its weekly run errored out. Adding a real workflow makes the entry meaningful AND gives the repo a quality gate.

Test plan

  • Markdownlint job passes against existing content/**/*.md
  • htmlhint job passes against built public/**/*.html
  • Next Dependabot github_actions run succeeds (weekly, Mondays 09:00 UTC)
  • PR previews on Cloudflare Pages still build (this workflow doesn't touch deploy)

Adds a Lint workflow that runs on push to main and on PRs:

- markdownlint-cli2 against content/**/*.md (mirrors `make lint-md`)
- Hugo build + htmlhint against the built site (mirrors `make lint-html`)

This also resolves the Dependabot github_actions ecosystem failure on
main, which was erroring because the dependabot.yml referenced a
github-actions ecosystem with no actual workflows to scan.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 3, 2026

Deploying aixgo with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6189fc9
Status: ✅  Deploy successful!
Preview URL: https://6b90c21c.aixgo.pages.dev
Branch Preview URL: https://chore-add-lint-workflow.aixgo.pages.dev

View logs

The v0.3.3 session persistence blog post used 2./3./4./5. for ordered
list items, which violates the project's markdownlint MD029 rule
(style: 1/1/1 — every numbered item starts with `1.`, Hugo renders
them sequentially anyway). The bug was previously hidden because no
CI ran markdownlint; now the lint workflow added in this PR catches it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@charlesgreen charlesgreen merged commit 734cec9 into main May 3, 2026
3 checks passed
@charlesgreen charlesgreen deleted the chore/add-lint-workflow branch May 3, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant