Compare commits

...

4 Commits

Author SHA1 Message Date
David Hérault
103cc088da
Merge 82c3ed7e7f into 668c092af3 2025-11-27 10:27:00 +01:00
Michal Dorner
668c092af3
Merge pull request #279 from wardpeet/patch-1
Add missing predicate-quantifier
2025-11-25 21:31:09 +01:00
Ward Peeters
209e61402d
Add missing predicate-quantifier 2025-09-12 22:58:41 +02:00
David Hérault
82c3ed7e7f
Update README.md
Somehow this change is needed for the action to work as intended.
2022-04-15 01:33:53 +03:00
2 changed files with 15 additions and 10 deletions

View File

@ -51,7 +51,7 @@ don't allow this because they don't work on a level of individual jobs or steps.
with:
filters: |
src:
- 'src/**'
- 'src/**/*'
# run only if some file in 'src' folder was changed
- if: steps.changes.outputs.src == 'true'
@ -198,9 +198,9 @@ jobs:
with:
filters: |
backend:
- 'backend/**'
- 'backend/**/*'
frontend:
- 'frontend/**'
- 'frontend/**/*'
# run only if 'backend' files were changed
- name: backend tests
@ -242,9 +242,9 @@ jobs:
with:
filters: |
backend:
- 'backend/**'
- 'backend/**/*'
frontend:
- 'frontend/**'
- 'frontend/**/*'
# JOB to build and test backend code
backend:
@ -444,11 +444,11 @@ jobs:
# src filter will match any path under common, config and src folders
filters: |
shared: &shared
- common/**
- config/**
- common/**/*
- config/**/*
src:
- *shared
- src/**
- src/**/*
```
</details>
@ -467,8 +467,8 @@ jobs:
# Multiple change types can be specified using `|` as the delimiter.
filters: |
shared: &shared
- common/**
- config/**
- common/**/*
- config/**/*
addedOrModified:
- added|modified: '**'
allChanges:

View File

@ -44,6 +44,11 @@ inputs:
This option takes effect only when changes are detected using git against different base branch.
required: false
default: '100'
predicate-quantifier:
description: |
allows to override the "at least one pattern" behavior to make it so that all of the patterns have to match or otherwise the file is excluded.
required: false
default: 'some'
outputs:
changes:
description: JSON array with names of all filters matching any of changed files