Browse Source

Exclude bundled dashboard files from eslint checks. (#11488)

Austin S. Hemmelgarn 3 years ago
parent
commit
7bebc4ba14
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/review.yml

+ 1 - 1
.github/workflows/review.yml

@@ -21,7 +21,7 @@ jobs:
           fetch-depth: 0
       - name: Check files
         run: |
-          if git diff --name-only origin/${{ github.base_ref }} HEAD | grep -Eq '*\.js|node\.d\.plugin\.in' ; then
+          if git diff --name-only origin/${{ github.base_ref }} HEAD | grep -v "web/gui/dashboard" | grep -Eq '*\.js|node\.d\.plugin\.in' ; then
             echo 'run_eslint=1' >> $GITHUB_ENV
           fi
       - name: Run eslint