Skip to content

Commit

Permalink
cleanup afterward
Browse files Browse the repository at this point in the history
  • Loading branch information
JRPan committed Aug 15, 2024
1 parent a715092 commit 1aa4723
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,12 @@ jobs:
format-code:
if: github.event_name == 'pull_request'
runs-on: tgrogers-raid
# needs: [build-TITANV, build-TITANV-LOCALXBAR, build-QV100, build-2060, build-3070]
needs: [build-TITANV, build-TITANV-LOCALXBAR, build-QV100, build-2060, build-3070]
steps:
- name: Run clang-format
run: |
git clone -b ${{github.event.pull_request.head.ref}} [email protected]:${{github.event.pull_request.head.repo.full_name}} format-repo
cd format-repo
/bin/bash ./format-code.sh
if git status --untracked-files=no | grep -q "nothing to commit"; then echo "No changes to commit."; else git commit -a -m "Automated Format"; git push; fi
rm -rf format-repo

0 comments on commit 1aa4723

Please sign in to comment.