laravel-pint-action
laravel-pint-action copied to clipboard
Config doesn't work
Action ignore any changes from pint.json in root directory.
@nemergut can you illustrate the issue by creating a PR in the https://github.com/aglipanci/laravel-pint-action-demo?
Same issue here pint.json in root directory being ignored. Specifying it via configPath: "pint.json" also doesn't help.
@nemergut @schaeferalex It works just fine on my end. You have have a look at the three actions run here: https://github.com/aglipanci/laravel-pint-action-demo/actions
I have edited the pint.json config and the errors are skipped during each run.
If there is a specific case I need you to create a PR with your configs on the demo repository so I can investigate more.
also same issue here, my config looks like this:
- name: Fix PHP code style issues
uses: aglipanci/[email protected]
with:
preset: laravel
configPath: "vendor/phonyland/dev-tools/src/pint.json"
and may be i found the cause:
locally i have this composer command, so it is with an equal sign (--config=)
"pint": "vendor/bin/pint --config=vendor/phonyland/dev-tools/src/pint.json",
@deligoez according to the Laravel docs the equal sign it's not required. Would you mind replicating the same behaviour on the demo repository here?
Closed due to inactivity.