Skip to content

👷 Run CI only when source or build files change - #21

Merged
kammce merged 1 commit into
mainfrom
ci-source-paths
Oct 26, 2026
Merged

kammce merged 1 commit into
mainfrom
ci-source-paths

Conversation

@kammce

@kammce kammce commented Oct 26, 2026

Copy link
Copy Markdown
Member

✅ CI now runs only when a pull request or a push to main changes source or build files:

  • modules/, tests/ and test_package/
  • CMakeLists.txt and conanfile.py
  • the lint and format configs (.clang-format, .clang-tidy, .pre-commit-config.yaml)
  • the workflow itself

Docs and README changes no longer build and test the package on every platform. Manual runs (workflow_dispatch) are unchanged. main has no required status checks, so pull requests that skip CI can still merge.

This follows the paths: filters in libhal-arm-mcu's v2.yml.

The Markdown spellcheck runs in the lint job, so it now runs on docs-only changes only through local pre-commit.

Docs, README and other non-source changes no longer build and test the
package on every platform.
@kammce
kammce merged commit ee90ff5 into main Oct 26, 2026
9 checks passed
@kammce
kammce deleted the ci-source-paths branch October 26, 2026 12:11
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