Skip to content

Commit b8e60bd

Browse files
authored
Update 99-auto-format-dependabot-prettier-updates.yml
1 parent 5cb8506 commit b8e60bd

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/99-auto-format-dependabot-prettier-updates.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,7 @@ jobs:
4444
run: |
4545
git config --global user.name 'github-actions[bot]'
4646
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
47-
48-
git status
49-
50-
# Checkout the PR branch (already done by actions/checkout)
51-
git checkout ${{ github.head_ref }} # This ensures we're on the PR branch
5247
5348
git add .
54-
git commit -a -m "Auto-format codebase with Prettier" || echo "No changes to commit"
49+
git commit --all -m "Auto-format codebase with Prettier" || echo "No changes to commit"
5550
git push origin HEAD:${{ github.head_ref }} # Push back to the same PR branch

0 commit comments

Comments
 (0)