We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9191fac commit 99982c8Copy full SHA for 99982c8
.github/workflows/pr-autofix.yml
@@ -28,11 +28,11 @@ jobs:
28
extensions: '.js'
29
30
- name: Run prettier
31
- if: steps.changed-js.outputs.filtered != ''
32
- run: yarn run format-files ${{ steps.changed-js.outputs.filtered }}
+ if: steps.changed-js.outputs.filtered != '[]'
+ run: echo '${{ steps.changed-js.outputs.filtered }}' | jq -r .[] | xargs yarn run format-files
33
34
- name: Rebuild our "dist" file
35
- if: steps.changed.outputs.files != ''
+ if: steps.changed.outputs.files != '[]'
36
run: yarn build
37
38
- uses: Khan/autofix-commit-action@main
0 commit comments