Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Apr 2, 2021
1 parent 6868b51 commit 66a53ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -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
Expand Down

0 comments on commit 66a53ea

Please sign in to comment.