diff --git a/.github/workflows/check-code-style.yml b/.github/workflows/check-code-style.yml index 7aa281112c..5ed1158ded 100644 --- a/.github/workflows/check-code-style.yml +++ b/.github/workflows/check-code-style.yml @@ -32,7 +32,10 @@ jobs: - name: Changed Files id: changed-files uses: tj-actions/changed-files@v37 + with: + files: "**/*.{js,cjs,mjs,jsx,ts,tsx,css,scss}" - name: Prettier Check + if: steps.changed-files.outputs.any_changed == 'true' run: | yarn prettier --check ${{ steps.changed-files.outputs.all_changed_files }}