-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto pint #178
Auto pint #178
Conversation
New Crowdin updates
Translation file for commands & tiny cleanup
And also named the job pint and i also named the commit pint. I also changed a bit of code in a lang file to show that it works
The error is caused by the job not finding the branch because the branch exists in a fork and not in the main repo
This now should fix pint
My changes do work, only there is one little thing wrong. The job fails because he can't find the branch in this repository and I can't manage to get him to search for the fork repository, but that does not affect the job. As you can see from my tests, he does run pint and then makes a commit. With my last commit I adjusted it so that it is no longer executed when a Pull Request is made, but only when a commit is made, because as I explained at Pull Requests it fails because it can't find the branch. I think with these last changes and tests it is now ready to be merged |
You can use a pre commit git hook to run vendor/bin/pint |
I made changes to lint.yml so on each commit it now automatically runs pint and makes a commit named Pint Fixes if needed