Skip to content

Commit c2c1744

Browse files
author
foladgar
committed
update github action 2
1 parent ea2b503 commit c2c1744

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/php-cs-fixer.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
name: Check & fix styling
22

3-
on: [push,pull_request]
3+
on: [push, pull_request]
44

55
jobs:
66
php-cs-fixer:
7-
name: PHP-CS-Fixer
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Checkout code
11-
uses: actions/checkout@v4
12-
with:
13-
ref: ${{ github.head_ref }}
7+
runs-on: ubuntu-latest
148

15-
- name: Run PHP-CS-Fixer
16-
uses: docker://oskarstark/php-cs-fixer-ga
17-
with:
18-
args: --config=.php-cs-fixer.dist --allow-risky=yes
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v4
12+
with:
13+
ref: ${{ github.head_ref }}
1914

20-
- name: Commit changes
21-
uses: stefanzweifel/git-auto-commit-action@v5
22-
with:
23-
commit_message: Fix styling
15+
- name: Run PHP CS Fixer
16+
uses: docker://oskarstark/php-cs-fixer-ga
17+
with:
18+
args: --config=.php-cs-fixer.dist --allow-risky=yes
19+
20+
- name: Commit changes
21+
uses: stefanzweifel/git-auto-commit-action@v5
22+
with:
23+
commit_message: Fix styling

0 commit comments

Comments
 (0)