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 8975a50 commit ab2155aCopy full SHA for ab2155a
.github/workflows/99-auto-format-dependabot-prettier-updates.yml
@@ -41,6 +41,10 @@ jobs:
41
run: |
42
git config --global user.name 'github-actions[bot]'
43
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
44
+
45
+ # Checkout the PR branch (already done by actions/checkout)
46
+ git checkout ${{ github.head_ref }} # This ensures we're on the PR branch
47
48
git add .
49
git commit -m "Auto-format codebase with Prettier" || echo "No changes to commit"
- git push origin HEAD:${{ github.head_ref }}
50
+ git push origin HEAD:${{ github.head_ref }} # Push back to the same PR branch
0 commit comments