Skip to content

Commit

Permalink
ci(style): don't commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
innocenzi committed Oct 9, 2021
1 parent 97dcd83 commit 38e1025
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Check & fix styling

on: [push]
on: [pull_request]

jobs:
php-cs-fixer:
Expand All @@ -15,9 +15,4 @@ jobs:
- name: Run PHP CS Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --config=.php-cs-fixer.php --allow-risky=yes

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "style: apply php-cs-fixer"
args: --config=.php-cs-fixer.php --diff --dry-run

0 comments on commit 38e1025

Please # to comment.