diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/review.yml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 0b7bfdf8df..6a580afa6c 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -38,17 +38,17 @@ jobs: else echo "run=false" >> "${GITHUB_OUTPUT}" fi - - name: Check files for clang-format - id: clangformat - run: | - if [ "${{ contains(github.event.pull_request.labels.*.name, 'run-ci/clang-format') }}" = "true" ]; then - echo "run=true" >> "${GITHUB_OUTPUT}" - elif git diff --name-only origin/${{ github.base_ref }} HEAD | grep -Eq '\.cpp$|\.cxx$|\.c$|\.hpp$|\.hxx$|\.h$' ; then - echo "run=true" >> "${GITHUB_OUTPUT}" - echo 'C/C++ code has changed, need to run clang-format.' - else - echo "run=false" >> "${GITHUB_OUTPUT}" - fi + # - name: Check files for clang-format + # id: clangformat + # run: | + # if [ "${{ contains(github.event.pull_request.labels.*.name, 'run-ci/clang-format') }}" = "true" ]; then + # echo "run=true" >> "${GITHUB_OUTPUT}" + # elif git diff --name-only origin/${{ github.base_ref }} HEAD | grep -Eq '\.cpp$|\.cxx$|\.c$|\.hpp$|\.hxx$|\.h$' ; then + # echo "run=true" >> "${GITHUB_OUTPUT}" + # echo 'C/C++ code has changed, need to run clang-format.' + # else + # echo "run=false" >> "${GITHUB_OUTPUT}" + # fi - name: Check files for eslint id: eslint run: | |