We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c19947 commit 4e5e949Copy full SHA for 4e5e949
.github/workflows/pint.yml
@@ -22,7 +22,12 @@ jobs:
22
- name: Run Pint
23
run: composer pint
24
- name: Commit files
25
- uses: stefanzweifel/git-auto-commit-action@v5
26
- with:
27
- commit_message: Fix style with laravel-pint in GitHub Actions
28
-
+ run: |
+ git config --local user.email "[email protected]"
+ git config --local user.name "GitHub Actions"
+ if [ -n "$(git status --porcelain)" ]; then
29
+ git commit -am "Fix style with laravel-pint in GitHub Actions"
30
+ git push
31
+ else
32
+ echo "No changes to commit"
33
+ fi
0 commit comments