Skip to content

ci: Add GitHub Actions workflows for quality checks#36

Merged
DennisOSRM merged 7 commits into
masterfrom
simple_ci
Apr 25, 2026
Merged

ci: Add GitHub Actions workflows for quality checks#36
DennisOSRM merged 7 commits into
masterfrom
simple_ci

Conversation

@DennisOSRM
Copy link
Copy Markdown
Contributor

Add GitHub Actions workflows to automate CI/CD quality checks:

Changes

  • Sanity Checks Workflow: Validates JSON, HTML, CSS, and checks for broken links
  • Conventional Commits Workflow: Enforces conventional commit format on PR titles

These workflows help maintain code quality and consistency standards across the project.

DennisOSRM and others added 2 commits April 25, 2026 21:03
- 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>
Copilot AI review requested due to automatic review settings April 25, 2026 19:07
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>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

DennisOSRM and others added 4 commits April 25, 2026 21:10
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>
@DennisOSRM DennisOSRM merged commit 2d1c524 into master Apr 25, 2026
2 checks passed
@DennisOSRM DennisOSRM deleted the simple_ci branch April 25, 2026 19:14
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.

2 participants