Skip to content

CI/CD triggers to skip builds on non-source changes#2370

Merged
klayoutmatthias merged 1 commit into
KLayout:masterfrom
nikosavola:nikosavola/push-lumzkwruumtm
Jun 8, 2026
Merged

CI/CD triggers to skip builds on non-source changes#2370
klayoutmatthias merged 1 commit into
KLayout:masterfrom
nikosavola:nikosavola/push-lumzkwruumtm

Conversation

@nikosavola

Copy link
Copy Markdown
Contributor

Relating to #2368 (comment)

Updates CI/CD pipelines to prevent expensive and slow Python wheel builds when changes are limited to documentation, samples, or legacy config files.

Changes

  • GitHub Actions (.github/workflows/build.yml): Added a changes filter job using dorny/paths-filter. The build and make_sdist jobs now run conditionally. This uses job-level checks to ensure skipped builds report as successful and satisfy branch protection rules.
  • Azure Pipelines (azure-pipelines.yml): Added native trigger and pr path exclusions for non-source folders (docs/, samples/, macbuild/*, etc.) and project metadata files to skip Windows builds on unrelated modifications.

@klayoutmatthias

Copy link
Copy Markdown
Collaborator

Sounds good. Thanks! Let's give it a try.

@klayoutmatthias klayoutmatthias merged commit adc63e2 into KLayout:master Jun 8, 2026
18 of 20 checks passed
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