From 1002ab784752c325d0562ad9126ce6568d88800f Mon Sep 17 00:00:00 2001 From: Jeremias Wolff Date: Mon, 30 Oct 2023 19:17:58 +0100 Subject: [PATCH] Create pint.yml --- .github/workflows/pint.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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 0000000..35244ed --- /dev/null +++ b/.github/workflows/pint.yml @@ -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