Skip to content

ci: add mdformat check; fix README table alignment#102

Merged
fryorcraken merged 1 commit into
masterfrom
ci-mdformat-master
Jun 18, 2026
Merged

ci: add mdformat check; fix README table alignment#102
fryorcraken merged 1 commit into
masterfrom
ci-mdformat-master

Conversation

@fryorcraken

Copy link
Copy Markdown
Collaborator

What

  • Adds .github/workflows/mdformat.yml — a CI workflow that runs mdformat --check . on every PR and on pushes to master, using the repo's .mdformat.toml (number = true, wrap = 80).
  • Fixes the README RFP table, whose column alignment had drifted (over-padded closed cells and a cramped Closed| cell).

Why

There was no CI guard on Markdown formatting, so malformed Markdown could reach the default branch — which is exactly how the README table misalignment landed. This adds the gate and fixes the existing breakage so the branch is green.

This re-does #98, which was merged into add-zcash-swap instead of master, so neither change ever reached the default branch.

Notes

  • The workflow installs mdformat mdformat-gfm mdformat-frontmatter — the same toolchain the README documents. The GFM plugin is required for table support; bare mdformat lacks it and mangles every table-containing file.
  • The check runs on all PRs (no paths filter) since this is a Markdown repo, plus pushes to master.
  • Uses actions/checkout@v6 and actions/setup-python@v6 (Node 24).
  • Run mdformat . locally to auto-fix any future failures.
  • Only the table alignment changed in the README; statuses, links, and the table's column set are untouched.

🤖 Generated with Claude Code

Add a PR workflow that runs `mdformat --check .` against .mdformat.toml so
malformed Markdown can no longer reach the default branch. Also re-format
the README RFP table, whose column alignment had drifted.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@fryorcraken fryorcraken merged commit f60c7ec into master Jun 18, 2026
1 check passed
@fryorcraken fryorcraken deleted the ci-mdformat-master branch June 18, 2026 01:49
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