Skip to content

Commit 790f1da

Browse files
duncanmccleanclaude
andcommitted
Replace git-auto-commit-action with native git commands
Fixes zizmor warning about using action functionality that is already included by the runner. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent ec8428d commit 790f1da

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/pint-fix.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ jobs:
2424
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2525
with:
2626
ref: ${{ github.head_ref }}
27-
persist-credentials: false
2827

2928
- name: Fix PHP code style issues
3029
uses: aglipanci/laravel-pint-action@36de00d5f5a8a4e12d443e01671daa12a18f4c79 # 2.6
3130

3231
- name: Commit changes
33-
uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7.1.0
34-
with:
35-
commit_message: Fix styling
32+
run: |
33+
git config user.name "github-actions[bot]"
34+
git config user.email "github-actions[bot]@users.noreply.github.com"
35+
git add -A
36+
git diff --staged --quiet || git commit -m "Fix styling"
37+
git push

0 commit comments

Comments
 (0)