diff --git a/.github/workflows/code-style-lint.yml b/.github/workflows/code-style-lint.yml index 9a83b34e52..1b41a31278 100644 --- a/.github/workflows/code-style-lint.yml +++ b/.github/workflows/code-style-lint.yml @@ -11,7 +11,15 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Get changed files + id: changed-files + uses: tj-actions/changed-files@v46 + with: + files: | + **.php + - name: Check PHP code style issues + if: steps.changed-files.outputs.any_modified == 'true' uses: aglipanci/laravel-pint-action@v2 with: testMode: true