mirror of
https://github.com/tj-actions/changed-files
synced 2025-01-17 19:17:45 +00:00
Update README.md
This commit is contained in:
parent
40dc6382c6
commit
c7eb6e4282
1 changed files with 13 additions and 0 deletions
13
README.md
13
README.md
|
@ -6,6 +6,14 @@ changed-files
|
|||
Get all modified files relative to the default branch or preceding commit.
|
||||
|
||||
|
||||
## Features
|
||||
- List all files that have changed .
|
||||
- List only a subset of files that can be used to detect changes.
|
||||
- Report on a subset of files that have all change.
|
||||
- Report on a subset of files that have at least one file change.
|
||||
- Regex pattern matching on a subset of files.
|
||||
|
||||
|
||||
## Outputs
|
||||
|
||||
Using the default separator.
|
||||
|
@ -123,6 +131,11 @@ jobs:
|
|||
files: |
|
||||
my-file.txt
|
||||
test.txt
|
||||
new.txt
|
||||
test_directory
|
||||
.(py|jpeg)$
|
||||
.(sql)$
|
||||
^(mynewfile|custom)
|
||||
|
||||
- name: Run step if all files listed above have changed
|
||||
if: steps.changed-files-specific.outputs.has_changed
|
||||
|
|
Loading…
Reference in a new issue