Merge pull request #231 from RubenPX/testing

fix github actions ESLint
This commit is contained in:
Santiago L 2022-04-25 11:29:47 +02:00 committed by GitHub
commit f299367ba7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@ name: ESLint
on: on:
push: push:
branches: [master, testing] branches: [master, testing]
pull_request: pull_request_target:
branches: [master, testing] branches: [master, testing]
jobs: jobs:
@ -45,8 +45,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: "eslint_report.json" report-json: "eslint_report.json"
only-pr-files: true
- name: Upload ESLint report - name: Upload ESLint report
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with: