From f8b852708de41af7cffe1445bcd7ea946d17b002 Mon Sep 17 00:00:00 2001 From: RubenPX Date: Mon, 25 Apr 2022 11:15:33 +0200 Subject: [PATCH] Fix github actions --- .github/workflows/eslint.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 6113c185..7e42feaf 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -12,7 +12,7 @@ name: ESLint on: push: branches: [master, testing] - pull_request: + pull_request_target: branches: [master, testing] jobs: @@ -45,8 +45,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: "eslint_report.json" + only-pr-files: true - name: Upload ESLint report uses: actions/upload-artifact@v2 with: