diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2023-07-03 19:46:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 19:46:19 +0300 |
commit | 2fe50577f2586b544690c725f456443b1b4dc17d (patch) | |
tree | 1459ef1299c55a910c873859b2ed511979068aa2 /.github/workflows | |
parent | 02f12f581dd63af5ff147907dcc25be3f1952d15 (diff) |
ci: disable clang format (#15305)
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: | |