From 80b8998ed961d0f74fcd543d470e4ea0cade7408 Mon Sep 17 00:00:00 2001 From: Alexander Danilov Date: Tue, 13 Aug 2024 12:46:48 +0500 Subject: [PATCH] Fix reviewdog permissions --- .github/workflows/reviewdog.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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