From 0049b2fa770db97a26e6b96e8ac684fa5f91b181 Mon Sep 17 00:00:00 2001 From: Arjay Angeles Date: Tue, 27 Feb 2024 10:54:04 +0800 Subject: [PATCH] chore: pint workflow --- .github/workflows/pint.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/pint.yml diff --git a/.github/workflows/pint.yml b/.github/workflows/pint.yml new file mode 100644 index 00000000..7844b882 --- /dev/null +++ b/.github/workflows/pint.yml @@ -0,0 +1,21 @@ +name: PHP Linting +on: + pull_request: + push: + branches: + - master +jobs: + phplint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: "laravel-pint" + uses: aglipanci/laravel-pint-action@2.0.0 + with: + preset: laravel + verboseMode: true + testMode: false + onlyDirty: true + - uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: "fix: pint"