Skip to content

Commit

Permalink
run on failure only
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek authored May 17, 2024
1 parent a7e0286 commit 0f68f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run: "vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr"

- name: "Output PHP_CodeSniffer autofix diff"
if: success() || failure()
if: failure()
run: |
vendor/bin/phpcbf -q --no-colors --report=checkstyle || true
git add . -N && git diff

0 comments on commit 0f68f86

Please sign in to comment.