From 66a53ea26fdce49dc3ee56e179b2f27a24719796 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 2 Apr 2021 08:28:14 -0400 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c55efdc0..01253f78 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,7 @@ jobs: echo $file done - name: Run step when README.md changes - if: contains(${{ steps.changed-files.outputs.modified_files }}, 'README.md') + if: github.event_name == 'pull_request' && contains(${{ steps.changed-files.outputs.modified_files }}, 'README.md') run: | echo "Your README.md has been modified." - name: Run changed-files with comma separator