Skip to content

Commit c18d341

Browse files
authored
Merge branch 'main' into feature/is-not-a
2 parents bbe5fea + 75ccf07 commit c18d341

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/cs-fixer.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,11 @@ name: PHP CS Fixer
33
on:
44
pull_request:
55

6-
permissions:
7-
contents: write
8-
96
jobs:
107
cs-fixer:
118
runs-on: ubuntu-22.04
129
steps:
1310
- uses: actions/checkout@v6
14-
with:
15-
ref: ${{ github.head_ref }}
16-
token: ${{ secrets.GITHUB_TOKEN }}
1711

1812
- name: Install PHP
1913
uses: shivammathur/setup-php@v2
@@ -35,10 +29,4 @@ jobs:
3529
run: composer install --prefer-dist
3630

3731
- name: Run PHP CS Fixer
38-
run: ./bin/php-cs-fixer fix --diff
39-
40-
- name: Commit CS Fixer fixes
41-
uses: stefanzweifel/git-auto-commit-action@v7
42-
with:
43-
commit_message: "style: apply php-cs-fixer changes"
44-
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
32+
run: ./bin/php-cs-fixer check --diff

0 commit comments

Comments
 (0)