Skip to content

Commit

Permalink
Run CI codestyle fixes on PRs rather than master
Browse files Browse the repository at this point in the history
Also bump stefanzweifel/git-auto-commit-action to v5
  • Loading branch information
jnoordsij committed Jul 16, 2024
1 parent 54ad94a commit 0e44635
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/fix-cs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Fix Code Style

on:
push:
pull_request:
branches:
- master
- "*"

permissions:
contents: write
Expand All @@ -19,6 +19,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -37,7 +39,7 @@ jobs:
# Revert modifications so they don't get committed 💥
- run: git checkout -- composer.json

- uses: stefanzweifel/git-auto-commit-action@v4
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: composer fix-style
commit_author: laravel-debugbar <[email protected]>

0 comments on commit 0e44635

Please sign in to comment.