summaryrefslogtreecommitdiffstats
path: root/.github/workflows/review.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-07-20 04:49:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-07-20 04:49:55 +0000
commitab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb (patch)
tree7a900833aad3ccc685712c6c2a7d87576d54f427 /.github/workflows/review.yml
parentAdding upstream version 1.40.1. (diff)
downloadnetdata-ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb.tar.xz
netdata-ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb.zip
Adding upstream version 1.41.0.upstream/1.41.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/review.yml')
-rw-r--r--.github/workflows/review.yml24
1 files changed, 12 insertions, 12 deletions
diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml
index 5756e4b21..6a580afa6 100644
--- a/.github/workflows/review.yml
+++ b/.github/workflows/review.yml
@@ -38,23 +38,23 @@ 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: |
if [ "${{ contains(github.event.pull_request.labels.*.name, 'run-ci/eslint') }}" = "true" ]; then
echo "run=true" >> "${GITHUB_OUTPUT}"
- elif git diff --name-only origin/${{ github.base_ref }} HEAD | grep -v "web/gui/dashboard" | grep -Eq '.*\.js|node\.d\.plugin\.in' ; then
+ elif git diff --name-only origin/${{ github.base_ref }} HEAD | grep -v "web/gui/v1" | grep -v "web/gui/v2" | grep -Eq '.*\.js|node\.d\.plugin\.in' ; then
echo "run=true" >> "${GITHUB_OUTPUT}"
echo 'JS files have changed, need to run ESLint.'
else