ci: Add GitHub Actions workflows for quality checks#36
Merged
Conversation
- HTML syntax validation using tidy - JSON validity checks - CSS brace matching - Local link validation - Common issues detection (trailing whitespace) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add GitHub Actions workflow to enforce conventional commit format for pull request titles, ensuring consistent commit message standards across the project. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Skip server-relative absolute paths (starting with /) in the link checker, as these cannot be validated statically in the repository. They are intended for runtime use on the web server. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR introduces CI automation via GitHub Actions to enforce basic repo hygiene checks and conventional PR title formatting, helping standardize quality gates on pushes and pull requests.
Changes:
- Add a “Sanity Checks” workflow to validate JSON, run HTML/CSS checks, and detect broken local links.
- Add a “Conventional Commits” workflow to enforce semantic/conventional PR titles.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/sanity-checks.yml | Adds a CI job that validates JSON, runs HTML/CSS checks, and attempts local link checking. |
| .github/workflows/conventional-commits.yml | Adds a CI job that validates PR titles against conventional commit types. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Support SPA/VitePress routing where links can reference pages without the .html extension (e.g., './testing' instead of './testing.html'). The link checker now accepts both the literal path and the path with .html appended. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Skip link validation for generated docs content, which has special routing and structure incompatible with static file validation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use the latest version of actions/checkout for improved performance and security updates. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update actions/checkout to the latest version (v6) for improved performance and security. Add Dependabot configuration to automatically check for and create PRs for GitHub Actions dependency updates weekly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Add GitHub Actions workflows to automate CI/CD quality checks:
Changes
These workflows help maintain code quality and consistency standards across the project.