Update test.yml

This commit is contained in:
Tonye Jack 2021-04-02 08:28:14 -04:00 committed by GitHub
parent 6868b512ca
commit 66a53ea26f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ jobs:
echo $file echo $file
done done
- name: Run step when README.md changes - 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: | run: |
echo "Your README.md has been modified." echo "Your README.md has been modified."
- name: Run changed-files with comma separator - name: Run changed-files with comma separator