Skip to content

Commit 291b54b

Browse files
committed
fix
1 parent 7fb0c1f commit 291b54b

File tree

1 file changed

+18
-24
lines changed

1 file changed

+18
-24
lines changed

.github/workflows/pint.yml

+18-24
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
1-
name: PHP Linting (Pint)
2-
on:
3-
workflow_dispatch:
4-
push:
5-
branches-ignore:
6-
- 'dependabot/npm_and_yarn/*'
1+
name: Check & fix styling (laravel pint)
2+
on: [push, pull_request]
73
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
4+
phplint:
5+
name: Laravel Pint
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
with:
10+
fetch-depth: 2
11+
- name: Laravel Pint
12+
uses: aglipanci/laravel-pint-action@latest
13+
with:
14+
preset: laravel
1915
verboseMode: true
2016
testMode: true
2117
configPath: "pint.json"
2218
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
19+
- name: Commit changes
20+
uses: stefanzweifel/git-auto-commit-action@v4
21+
with:
22+
commit_message: Fixing styling (Laravel Pint)
23+
skip_fetch: true

0 commit comments

Comments
 (0)