Skip to content

Commit

Permalink
Added step to push autoformatting changes
Browse files Browse the repository at this point in the history
The `test.yml` GitHub workflow now pushes any changes that it makes, so
that they persist in the repo.
  • Loading branch information
gvrooyen committed Aug 24, 2024
1 parent 6d31497 commit aa92d6e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,10 @@ jobs:
- name: Apply code formatting to all .odin files
run: bin/format-all.sh

- name: Commit and push changes
run: |
git config --global user.name 'G-J van Rooyen'
git config --global user.email 'gvrooyen@gmail.com'
git add .
git commit -m "Automated formatting"
git push

0 comments on commit aa92d6e

Please sign in to comment.