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
10f1fffaf6
commit
cb1a80f76a
1 changed files with 2 additions and 2 deletions
|
@ -99,12 +99,12 @@ jobs:
|
|||
echo "$file was added"
|
||||
done
|
||||
|
||||
- name: Run step when a file changes in a PR relative to the default branch
|
||||
- name: Run step when a file changes
|
||||
if: contains(steps.changed_files.outputs.modified_files, 'my-file.txt')
|
||||
run: |
|
||||
echo "Your file my-file.txt has been modified."
|
||||
|
||||
- name: Run step when a file is deleted in a PR relative to the default branch
|
||||
- name: Run step when a file has been deleted
|
||||
if: contains(steps.changed_files.outputs.deleted_files, 'test.txt')
|
||||
run: |
|
||||
echo "Your test.txt has been deleted."
|
||||
|
|
Loading…
Reference in a new issue