Skip to content

Commit 128c18f

Browse files
committed
ci: pint workflow
1 parent eb81499 commit 128c18f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/pint.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,21 @@ on:
77
jobs:
88
phplint:
99
runs-on: ubuntu-latest
10+
11+
permissions:
12+
contents: write
13+
1014
steps:
1115
- uses: actions/checkout@v4
16+
with:
17+
ref: ${{ github.head_ref }}
18+
1219
- name: "laravel-pint"
13-
uses: aglipanci/laravel-pint-action@2.0.0
20+
uses: aglipanci/laravel-pint-action@latest
1421
with:
1522
preset: laravel
1623
verboseMode: true
24+
1725
- uses: stefanzweifel/git-auto-commit-action@v5
1826
with:
1927
commit_message: "fix: pint"

0 commit comments

Comments
 (0)