Fixing lint annotations

pull/3342/head^2
zomars 2022-07-12 14:05:15 -06:00
parent 7bcc5c4548
commit 0ff6d4557a
1 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,10 @@
name: Lint name: Lint
on: on:
pull_request: push:
paths:
- "**.tsx?"
- "**.jsx?"
pull_request_target:
branches: branches:
- main - main
paths: paths:
@ -37,8 +41,9 @@ jobs:
- name: Annotate Code Linting Results - name: Annotate Code Linting Results
uses: ataylorme/eslint-annotate-action@1.2.0 uses: ataylorme/eslint-annotate-action@1.2.0
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: ${{ secrets.GITHUB_TOKEN }}
report-json: "lint-results/eslint_report.json" report-json: "lint-results/eslint_report.json"
only-pr-files: false
- name: Upload ESLint report - name: Upload ESLint report
if: ${{ always() }} if: ${{ always() }}