diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index b4840d90c4..8bcecd8a5f 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -53,8 +53,16 @@ jobs: - name: Install Node.js dependencies run: npm ci --no-audit - - name: Run eslint - run: npm run lint + + - name: Run eslint (changed) + if: ${{ github.repository == 'jellyfin/jellyfin-web' }} + uses: CatChen/eslint-suggestion-action@d43938d6a379bc9a53c9c6d307e2d43bff0536be # v3.0.2 + with: + github-token: ${{ secrets.JF_BOT_TOKEN }} + + - name: Run eslint (all) + if: always() + run: npx eslint --quiet "." run-stylelint-css: name: Run stylelint (css)