ci: disable clang format (#15305)
Ilya Mashchenko committed
Jul 3, 2023 at 19:46 UTC
2fe50577f2586b544690c725f456443b1b4dc17d
1 file changed
+11
-11
.github/workflows/review.yml
+11
-11
@@ -38,17 +38,17 @@ jobs:
38
else
39
echo "run=false" >> "${GITHUB_OUTPUT}"
40
fi
41
- - name: Check files for clang-format
42
- id: clangformat
43
- run: |
44
- if [ "${{ contains(github.event.pull_request.labels.*.name, 'run-ci/clang-format') }}" = "true" ]; then
45
- echo "run=true" >> "${GITHUB_OUTPUT}"
46
- elif git diff --name-only origin/${{ github.base_ref }} HEAD | grep -Eq '\.cpp$|\.cxx$|\.c$|\.hpp$|\.hxx$|\.h$' ; then
47
- echo "run=true" >> "${GITHUB_OUTPUT}"
48
- echo 'C/C++ code has changed, need to run clang-format.'
49
- else
50
- echo "run=false" >> "${GITHUB_OUTPUT}"
51
- fi
41
+ # - name: Check files for clang-format
42
+ # id: clangformat
43
+ # run: |
44
+ # if [ "${{ contains(github.event.pull_request.labels.*.name, 'run-ci/clang-format') }}" = "true" ]; then
45
+ # echo "run=true" >> "${GITHUB_OUTPUT}"
46
+ # elif git diff --name-only origin/${{ github.base_ref }} HEAD | grep -Eq '\.cpp$|\.cxx$|\.c$|\.hpp$|\.hxx$|\.h$' ; then
47
+ # echo "run=true" >> "${GITHUB_OUTPUT}"
48
+ # echo 'C/C++ code has changed, need to run clang-format.'
49
+ # else
50
+ # echo "run=false" >> "${GITHUB_OUTPUT}"
51
+ # fi
52
- name: Check files for eslint
53
id: eslint
54
run: |