Skip to content

Commit e8282cc

Browse files
Add laravel pint workflow
1 parent c40ff9e commit e8282cc

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/pint.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Fix PHP code style issues
2+
3+
on:
4+
push
5+
6+
permissions:
7+
contents: write
8+
9+
jobs:
10+
php-code-styling:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 5
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
with:
18+
ref: ${{ github.head_ref }}
19+
20+
- name: Fix PHP code style issues
21+
uses: aglipanci/laravel-pint-action@2.4
22+
23+
- name: Commit changes
24+
uses: stefanzweifel/git-auto-commit-action@v5
25+
with:
26+
commit_message: Fix styling

0 commit comments

Comments
 (0)