diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 2a71419d5..34d70fd93 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -11,10 +11,16 @@ jobs: eslint: name: runner / eslint runs-on: ubuntu-latest + + permissions: + contents: read + pull-requests: write + steps: - uses: actions/checkout@v2 - uses: reviewdog/action-eslint@v1 with: + github_token: ${{ secrets.GITHUB_TOKEN }} reporter: github-pr-review level: error fail_on_error: true