Skip to content

Commit d9ba4d1

Browse files
committed
🔧 (main.yml): update paths-filter to exclude additional directories
Add 'build/**' and '.github/**' to the exclusion list in the paths-filter configuration. This change ensures that changes in the 'build' and '.github' directories do not trigger unnecessary workflows, optimizing the CI/CD process by focusing only on relevant source code changes. The addition of the 'predicate-quantifier: every' ensures that all specified conditions must be met for the filter to pass.
1 parent a6848a3 commit d9ba4d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,13 @@ jobs:
8181
- uses: dorny/paths-filter@v3
8282
id: filter
8383
with:
84+
predicate-quantifier: 'every'
8485
filters: |
8586
src:
8687
- '**'
8788
- '!docs/**'
89+
- '!build/**'
90+
- '!.github/**'
8891
docs:
8992
- 'docs/**'
9093
automation:

0 commit comments

Comments
 (0)