From 0ff6d4557a37ea81c12ee6bab44331fb05350155 Mon Sep 17 00:00:00 2001 From: zomars Date: Tue, 12 Jul 2022 14:05:15 -0600 Subject: [PATCH] Fixing lint annotations --- .github/workflows/lint.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 907b9cfe56..65424ac72a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,6 +1,10 @@ name: Lint on: - pull_request: + push: + paths: + - "**.tsx?" + - "**.jsx?" + pull_request_target: branches: - main paths: @@ -37,8 +41,9 @@ jobs: - name: Annotate Code Linting Results uses: ataylorme/eslint-annotate-action@1.2.0 with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" + repo-token: ${{ secrets.GITHUB_TOKEN }} report-json: "lint-results/eslint_report.json" + only-pr-files: false - name: Upload ESLint report if: ${{ always() }}