Dev.to
7/5/2026

The original title is "GitHub Actions SEO: gate PRs on broken links and schema"
Original: GitHub Actions SEO: gate PRs on broken links and schema
Short summary
A GitHub Actions workflow gates blog PRs with four automated checks: broken links (lychee), meta/canonical validation, JSON-LD schema correctness, and Lighthouse performance budgets. These catch silent SEO failures—broken canonicals, malformed structured data, and performance regressions—that traditional code review and static analysis miss entirely. This pattern adapts to any static-site generator with minimal changes.
- •Automated four-job CI workflow validates blog posts for broken links, metadata, schema markup, and performance regressions
- •Catches SEO bugs that code review and linters miss: malformed canonical tags, invalid JSON-LD, dead external links
- •Fully portable GitHub Actions workflow with Node.js scripts; adapts to Next.js, Astro, and other static generators
Generated with AI, which can make mistakes.
Is this a good recommendation for you?


