Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SkidGod4444 committed Nov 29, 2024
1 parent 62d1f50 commit b9422ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/format-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }} # Checkout the PR branch

- uses: pnpm/action-setup@v4
name: Install pnpm
Expand Down Expand Up @@ -54,7 +56,7 @@ jobs:
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "format: make the code prettier"
git push
git push origin ${{ github.head_ref }}
else
echo "No formatting changes to push."
fi

0 comments on commit b9422ad

Please sign in to comment.