Exclude bundled dashboard files from eslint checks. (#11488)
Austin S. Hemmelgarn committed
Sep 8, 2021 at 06:43 UTC
7bebc4ba1430c96752ead7d0e1c2af65b7272a92
1 file changed
+1
-1
.github/workflows/review.yml
+1
-1
@@ -21,7 +21,7 @@ jobs:
21
fetch-depth: 0
22
- name: Check files
23
run: |
24
- if git diff --name-only origin/${{ github.base_ref }} HEAD | grep -Eq '*\.js|node\.d\.plugin\.in' ; then
24
+ if git diff --name-only origin/${{ github.base_ref }} HEAD | grep -v "web/gui/dashboard" | grep -Eq '*\.js|node\.d\.plugin\.in' ; then
25
echo 'run_eslint=1' >> $GITHUB_ENV
26
fi
27
- name: Run eslint