Remove razor sword durability and give it infinite swings. #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clang Auto Format Code On Main Repo | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
jobs: | |
auto-formatter-on-main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: DoozyX/[email protected] | |
with: | |
source: "./code" | |
extensions: 'h,cpp' | |
clangFormatVersion: 14 | |
style: file | |
inplace: True | |
- uses: EndBug/[email protected] | |
with: | |
committer_name: GitHub Actions | |
committer_email: 41898282+github-actions[bot]@users.noreply.github.com | |
message: 'Clang-format changes exist. Committing.' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |