Skip to content

Commit

Permalink
Updating README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aglipanci committed Dec 26, 2022
1 parent c4b9ef6 commit 07f4f96
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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).


0 comments on commit 07f4f96

Please sign in to comment.