Skip to content

Commit

Permalink
Merge branch 'main' into updated-the-all-changed
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Apr 2, 2021
2 parents 1c5a341 + 4883588 commit 56c6262
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -16,6 +16,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Run changed-files with defaults
if: github.event_name == 'pull_request'
id: changed-files
uses: ./
- name: Show output
Expand All @@ -29,7 +30,7 @@ jobs:
echo $file
done
- name: Run step when README.md changes
if: github.event_name == 'pull_request' && contains(fromJSON(${{ steps.changed-files.outputs.modified_files }}), 'README.md')
if: 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
Expand Down

0 comments on commit 56c6262

Please sign in to comment.