diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 86a94e5c6..a02bafb8d 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -28,7 +28,7 @@ jobs: steps: - uses: actions/checkout@v3 with: - token: "${{ github.token }}" + token: ${{ secrets.GITHUB_TOKEN }} ref: ${{github.event.pull_request.head.sha}} repository: ${{github.event.pull_request.head.repo.full_name}} @@ -40,7 +40,7 @@ jobs: cache-dependency-path: "package-lock.json" - name: Install Node Dependencies - run: npm ci + run: npm ci --no-fund --no-audit - name: Save Code Linting Report to JSON # This is to show failures in GitHub pull request using the action below @@ -52,6 +52,7 @@ jobs: with: check-name: "View Lint Report" markdown-report-on-step-summary: true + repo-token: ${{ secrets.GITHUB_TOKEN }} report-json: "eslint_report.json" # # OPTIONAL: save a copy of the usage report for download or use in another job