From cb1a80f76aa8383fafc78a85f5bea6aa3865fb0e Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 24 Apr 2021 04:57:13 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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."