Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Apr 2, 2021
1 parent 715ae3d commit 689cd8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -29,12 +29,12 @@ Get modified files using [`git diff --diff-filter`](https://git-scm.com/docs/git
done
- name: Run step when a file changes in a PR relative to the default branch
if: contains(${{ steps.changed-files.outputs.modified_files }}, 'my-file.txt')
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
if: contains(${{ steps.changed-files.outputs.deleted_files }}, 'test.txt')
if: contains(steps.changed-files.outputs.deleted_files, 'test.txt')
run: |
echo "Your test.txt has been deleted."
Expand Down

0 comments on commit 689cd8a

Please sign in to comment.