Skip to content

Commit

Permalink
Modified prettier workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Maghish committed Nov 11, 2024
1 parent a9ca571 commit e369dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prettier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
PREVIOUS_COMMIT=$(git rev-parse HEAD~1)
PREVIOUS_COMMIT=$(git log --format=%H --skip=1 -n 1)
git commit -m "Format code with Prettier (fixes $PREVIOUS_COMMIT)"
git push origin main

0 comments on commit e369dbf

Please sign in to comment.