diff --git a/README.md b/README.md index 4eab2144..dd3eff4d 100644 --- a/README.md +++ b/README.md @@ -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."