From 07f4f96d0e75037d5c9ff4f40963a9d086147747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agli=20Pan=C3=A7i?= Date: Mon, 26 Dec 2022 20:58:24 +0100 Subject: [PATCH] Updating README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7efa4f9..364fd42 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ GitHub Action implementation of the [Laravel Pint](/~https://github.com/laravel/pi Use with [GitHub Actions](/~https://github.com/features/actions) -_.github/workflows/pint.yml_ +_.github/workflows/pint.yml ``` name: PHP Linting @@ -23,12 +23,13 @@ jobs: verboseMode: true testMode: true configPath: "vendor/my-company/coding-style/pint.json" + pintVersion: 1.2.1 ``` +ℹ️ Starting from version 2 you can specify the Pint version to be used by specifyling a `pintVersion` in your configuration file. + If provided, a `pint.json` file in the root will be used for configuration during run of the Action. This action **DOESN'T** commit changes automatically. If you want to achieve such behaviour you have to use it in combination with another action like [git-auto-commit Action](/~https://github.com/stefanzweifel/git-auto-commit-action) or [Create Pull Request Action](/~https://github.com/marketplace/actions/create-pull-request). You can see Laravel Pint Action running on my [demo repository](/~https://github.com/aglipanci/laravel-pint-action-demo/pulls). - -