Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Update ClangFormat.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Arteiii authored Feb 12, 2024
1 parent cee7b7f commit fcdf3a2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ClangFormat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ jobs:
git config --local user.name "GitHub Actions"
git diff --exit-code || (git add -A && git commit -m "Auto-fix formatting issues")
# Push changes to the current branch
git push origin HEAD
- name: Push changes to the current branch
run: |
current_branch=$(git rev-parse --abbrev-ref HEAD)
git push origin $current_branch

0 comments on commit fcdf3a2

Please sign in to comment.