Skip to content

Commit d40ecf9

Browse files
committed
fix
1 parent bfbcace commit d40ecf9

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/pint.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: PHP Linting (Pint)
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches-ignore:
6+
- 'dependabot/npm_and_yarn/*'
7+
jobs:
8+
name: PHP Linting
9+
on: pull_request
10+
jobs:
11+
phplint:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: "laravel-pint"
16+
uses: aglipanci/laravel-pint-action@latest
17+
with:
18+
preset: laravel
19+
verboseMode: true
20+
testMode: true
21+
configPath: "pint.json"
22+
pintVersion: 1.21.2
23+
onlyDirty: true
24+
onlyDiff: "master"
25+
- name: Commit changes
26+
uses: stefanzweifel/git-auto-commit-action@v4
27+
with:
28+
commit_message: PHP Linting (Pint)
29+
skip_fetch: true

0 commit comments

Comments
 (0)