Skip to content

Commit

Permalink
Disabling the $!@#%@ code-formatting thing
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Sep 18, 2024
1 parent ebb1fc3 commit 03a2d26
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@ concurrency:
cancel-in-progress: true

jobs:
format:
name: "Code Formatting"
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'

steps:
- uses: actions/checkout@v2
- uses: DoozyX/[email protected]
with:
source: '.'
exclude: './doc'
extensions: 'h,cpp'
clangFormatVersion: 13
inplace: True
- uses: EndBug/add-and-commit@v4
with:
message: 'Committing clang-format changes'
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}

# format:
# name: "Code Formatting"
# runs-on: ubuntu-latest
# if: github.ref == 'refs/heads/master'
#
# steps:
# - uses: actions/checkout@v2
# - uses: DoozyX/[email protected]
# with:
# source: '.'
# exclude: './doc'
# extensions: 'h,cpp'
# clangFormatVersion: 13
# inplace: True
# - uses: EndBug/add-and-commit@v4
# with:
# message: 'Committing clang-format changes'
# env:
# GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
#
build:
runs-on: ubuntu-latest
if: ${{ always() }}
Expand Down

0 comments on commit 03a2d26

Please sign in to comment.