23
.github/workflows/pint.yml
vendored
Normal file
23
.github/workflows/pint.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: PHP Linting (Pint)
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches-ignore:
|
||||
- 'dependabot/npm_and_yarn/*'
|
||||
jobs:
|
||||
phplint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- name: "laravel-pint"
|
||||
uses: aglipanci/laravel-pint-action@0.1.0
|
||||
with:
|
||||
preset: laravel
|
||||
|
||||
- name: Commit changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: PHP Linting (Pint)
|
||||
skip_fetch: true
|
||||
Reference in New Issue
Block a user