Skip to content

Commit 9b4be2a

Browse files
authored
Create code-style.yml
1 parent 5597753 commit 9b4be2a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/code-style.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: PHP Code Style (Pint)
2+
on:
3+
workflow_dispatch:
4+
push:
5+
jobs:
6+
fix-code-style:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
with:
11+
fetch-depth: 2
12+
- name: "laravel-pint"
13+
uses: aglipanci/[email protected]
14+
with:
15+
preset: laravel
16+
- name: Commit changes
17+
uses: stefanzweifel/git-auto-commit-action@v4
18+
with:
19+
commit_message: >
20+
chore: fix code style
21+
skip_fetch: true

0 commit comments

Comments
 (0)