3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-01-17 19:17:45 +00:00

Update test.yml

This commit is contained in:
Tonye Jack 2021-04-02 08:49:56 -04:00 committed by GitHub
parent c29faf8e4f
commit 1c5a3415f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ jobs:
echo $file
done
- name: Run step when README.md changes
if: github.event_name == 'pull_request' && contains("${{ steps.changed-files.outputs.modified_files }}", 'README.md')
if: github.event_name == 'pull_request' && contains(fromJSON(${{ steps.changed-files.outputs.modified_files }}), 'README.md')
run: |
echo "Your README.md has been modified."
- name: Run changed-files with comma separator