mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
Honour excluded paths in CI change detection
dorny/paths-filter only applies negated ('!') rules with the
some-with-excludes predicate quantifier. With the default 'some',
the '!src/ifcopenshell-python/docs/**' rule makes the filter match
every file outside docs, so unrelated changes (e.g. a new workflow
file) incorrectly trigger the full build.
Generated with the assistance of an AI coding tool.
This commit is contained in:
@@ -16,6 +16,9 @@ jobs:
|
|||||||
- uses: dorny/paths-filter@v4
|
- uses: dorny/paths-filter@v4
|
||||||
id: filter
|
id: filter
|
||||||
with:
|
with:
|
||||||
|
# 'some-with-excludes' is required for the '!...' rule to be honoured.
|
||||||
|
# With the default 'some', the negated rule ends up matching everything.
|
||||||
|
predicate-quantifier: 'some-with-excludes'
|
||||||
filters: |
|
filters: |
|
||||||
code:
|
code:
|
||||||
- 'src/bcf/**'
|
- 'src/bcf/**'
|
||||||
|
|||||||
Reference in New Issue
Block a user