From 7de00b2bbc6f4c0d62b940b8cf19cee6c2885a03 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura <miurahr@linux.com> Date: Thu, 19 Dec 2024 09:53:34 +0900 Subject: [PATCH] chore: github actions jobs permissions Signed-off-by: Hiroshi Miura <miurahr@linux.com> --- .github/workflows/run-linter.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-linter.yml b/.github/workflows/run-linter.yml index f5749abd..1fc42205 100644 --- a/.github/workflows/run-linter.yml +++ b/.github/workflows/run-linter.yml @@ -13,6 +13,8 @@ jobs: linter: name: Linter runs-on: ubuntu-24.04 + permissions: + pull-requests: write steps: - uses: actions/checkout@v4 with: @@ -30,8 +32,6 @@ jobs: pip install -U pip tox wheel setuptools coveralls coverage[toml] pip install .[check] - name: run reviewdog - permissions: - pull-requests: write run: | ./bin/reviewdog -runners=flake8,mypy,pylint -reporter=github-pr-review -conf=.reviewdog.yml env: