summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2024-02-05 09:29:44 -0500
committerGitHub <noreply@github.com>2024-02-05 09:29:44 -0500
commit0a6b7315a5e0bb0a0053c0e85391a204011fb8f1 (patch)
treecb229f576978aff01b297772db6bb0c21ffb66c9 /.github
parentbe23c6a07025645597b3f75f91fb234bdc76cdc0 (diff)
Drop ESLint CI jobs and config. (#16935)
We don’t actually use it for anything, as all of the JS code is being developed outside of the repo.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/review.yml32
1 files changed, 0 insertions, 32 deletions
diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml
index a1c6881a3f..6c62dafc48 100644
--- a/.github/workflows/review.yml
+++ b/.github/workflows/review.yml
@@ -16,7 +16,6 @@ jobs:
outputs:
actionlint: ${{ steps.actionlint.outputs.run }}
clangformat: ${{ steps.clangformat.outputs.run }}
- eslint: ${{ steps.eslint.outputs.run }}
flake8: ${{ steps.flake8.outputs.run }}
hadolint: ${{ steps.hadolint.outputs.run }}
shellcheck: ${{ steps.shellcheck.outputs.run }}
@@ -49,17 +48,6 @@ jobs:
# 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/v1" | grep -v "web/gui/v2" | grep -v "integrations/" | grep -Eq '.*\.js' ; then
- echo "run=true" >> "${GITHUB_OUTPUT}"
- echo 'JS files have changed, need to run ESLint.'
- else
- echo "run=false" >> "${GITHUB_OUTPUT}"
- fi
- name: Check files for flake8
id: flake8
run: |
@@ -155,26 +143,6 @@ jobs:
exit 1
fi
- eslint:
- name: eslint
- needs: prep-review
- if: needs.prep-review.outputs.eslint == 'true'
- runs-on: ubuntu-latest
- steps:
- - name: Git clone repository
- uses: actions/checkout@v4
- with:
- submodules: recursive
- fetch-depth: 0
- - name: Install eslint
- run: npm install eslint -D
- - name: Run eslint
- uses: reviewdog/action-eslint@v1
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- reporter: github-pr-check
- eslint_flags: '.'
-
flake8:
name: flake8
needs: prep-review