Skip to content

ci: skip build workflows for docs-only changes#204

Merged
j-d-ha merged 4 commits into
mainfrom
docs/fix-theme
Nov 30, 2025
Merged

ci: skip build workflows for docs-only changes#204
j-d-ha merged 4 commits into
mainfrom
docs/fix-theme

Conversation

@j-d-ha

@j-d-ha j-d-ha commented Nov 30, 2025

Copy link
Copy Markdown
Collaborator

Summary

Optimize CI workflow triggers by skipping build workflows when only documentation files change.

Changes

  • Add paths-ignore to PR build workflow
  • Add paths-ignore to main build workflow
  • Upgrade actions/configure-pages to v5 in docs workflow
  • Add /site/ to .gitignore

Both build workflows now skip when PRs/pushes only modify:

  • docs/**
  • mkdocs.yml
  • .github/workflows/docs.yaml
  • pyproject.toml
  • uv.lock
  • **.md

Test plan

  • Create docs-only PR - verify build workflows skip
  • Create code PR - verify build workflows run

- Added `paths-ignore` to `pr-build.yaml` and `main-build.yaml` to skip triggering on documentation files.
- Updated `.gitignore` to exclude `/site/` directory.
- Upgraded `actions/configure-pages` from v4 to v5 in `docs.yaml`.
@github-actions github-actions Bot added the type: ci CI/CD changes label Nov 30, 2025
- Corrected filename extension from `.yml` to `.yaml` in `docs.yaml` workflow.
- Added `pyproject.toml` and `uv.lock` to `paths` in `docs.yaml`.
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Nov 30, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #204   +/-   ##
=======================================
  Coverage   90.68%   90.68%           
=======================================
  Files         102      102           
  Lines        2233     2233           
  Branches      254      254           
=======================================
  Hits         2025     2025           
  Misses        115      115           
  Partials       93       93           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 29bd0bd...2c7d083. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@j-d-ha
j-d-ha merged commit 6aff685 into main Nov 30, 2025
10 checks passed
@j-d-ha
j-d-ha deleted the docs/fix-theme branch November 30, 2025 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: ci CI/CD changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant