mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-16 09:27:57 +00:00
Update README.md
This commit is contained in:
parent
81657dc060
commit
1772038cde
1 changed files with 6 additions and 1 deletions
|
@ -138,10 +138,15 @@ jobs:
|
|||
^(mynewfile|custom)
|
||||
|
||||
- name: Run step if all files listed above have changed
|
||||
if: steps.changed-files-specific.outputs.all_changed
|
||||
if: steps.changed-files-specific.outputs.all_changed == 'true'
|
||||
run: |
|
||||
echo "Both my-file.txt and test.txt have changed."
|
||||
|
||||
- name: Run step if any of the listed files above change
|
||||
if: steps.changed-files-specific.outputs.any_changed == 'true'
|
||||
run: |
|
||||
echo "Either my-file.txt or test.txt have changed."
|
||||
|
||||
```
|
||||
|
||||
### Running [pre-commit](https://pre-commit.com/) on all modified files
|
||||
|
|
Loading…
Reference in a new issue