diff --git a/.github/workflows/cs.yml b/.github/workflows/cs.yml index d44224a..c80bc68 100644 --- a/.github/workflows/cs.yml +++ b/.github/workflows/cs.yml @@ -91,7 +91,7 @@ jobs: # The results of this CS check will be shown inline in the PR via the CS2PR tool. # @link https://github.com/staabm/annotate-pull-request-from-checkstyle/ - name: Check PHP code style for the changes made in the branch only - if: ${{ failure() && steps.thresholds.outputs.EXITCODE == 128 }} + if: ${{ failure() && steps.thresholds.outputs.EXITCODE != 128 }} id: phpcs run: composer check-branch-cs -- ${{ steps.base_branch.outputs.REF }}