Skip to content

ci: skip full CI for documentation and specification changes - #755

Merged
bug-ops merged 1 commit into
mainfrom
ci/skip-full-ci-for-docs-and-specs
Oct 7, 2026
Merged

bug-ops merged 1 commit into
mainfrom
ci/skip-full-ci-for-docs-and-specs

Conversation

@bug-ops

@bug-ops bug-ops commented Oct 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • The workflows filter in Detect Changes contains the negated pattern !.github/workflows/book.yml. Under the default some quantifier of dorny/paths-filter a negated pattern matches every other path, so workflows was true for any change and the full run started, including for specs-only PRs.
  • Set predicate-quantifier: some-with-excludes: a path is included when it matches a positive pattern and no negated one.
  • Changes under specs/, .local/ and docs not listed in the code filter no longer start the full run.

@github-actions github-actions Bot added the ci/cd CI/CD pipeline changes label Oct 7, 2026
@bug-ops
bug-ops enabled auto-merge (squash) October 7, 2026 07:46
The negated workflows pattern matched every path under the default
paths-filter quantifier, so any change triggered the full run.
@bug-ops
bug-ops force-pushed the ci/skip-full-ci-for-docs-and-specs branch from 68b064b to 0d4ef92 Compare October 7, 2026 07:50
@bug-ops
bug-ops merged commit 79fe0be into main Oct 7, 2026
30 checks passed
@bug-ops
bug-ops deleted the ci/skip-full-ci-for-docs-and-specs branch October 7, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd CI/CD pipeline changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant