Skip to content

Add lightweight CI for documentation changes - #40

Merged
olujicz merged 1 commit into
mainfrom
ci/lightweight-docs-checks
Jul 23, 2026
Merged

Add lightweight CI for documentation changes#40
olujicz merged 1 commit into
mainfrom
ci/lightweight-docs-checks

Conversation

@olujicz

@olujicz olujicz commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • classify changed paths in a fast Ubuntu job before allocating macOS runners
  • keep Gitleaks always enabled while skipping workflow lint, formatting, linting, tests, and the App Store smoke build only for documentation/image-only changes
  • fail closed to full CI for code, workflow, build, mixed, empty, or indeterminate diffs
  • cancel superseded runs for the same branch or pull request

Why

The previous workflow ran every macOS job for repository-discoverability changes such as README and image updates. That consumed runner time without exercising app code. This keeps the conservative required-check structure while avoiding unnecessary macOS work.

Validation

  • just test
  • .github/scripts/test-ci-scope.sh
  • bash -n .github/scripts/ci-scope.sh .github/scripts/test-ci-scope.sh
  • shellcheck .github/scripts/ci-scope.sh .github/scripts/test-ci-scope.sh
  • actionlint .github/workflows/ci.yml
  • git diff --check
  • replayed the merged discoverability diff and confirmed full_ci=false
  • confirmed Swift-only and mixed synthetic diffs return full_ci=true

@olujicz
olujicz marked this pull request as ready for review July 23, 2026 14:57
@olujicz
olujicz merged commit b224147 into main Jul 23, 2026
7 checks passed
@olujicz
olujicz deleted the ci/lightweight-docs-checks branch July 23, 2026 15:01
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