diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 313f8d0b..36a09571 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,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: contains("${{ steps.changed-files.outputs.modified_files }}", 'README.md') run: | echo "Your README.md has been modified." - name: Run changed-files with comma separator