Fixing lint annotations
parent
7bcc5c4548
commit
0ff6d4557a
|
@ -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() }}
|
||||||
|
|
Loading…
Reference in New Issue