From a724b62314e41fc1b987a8f5e5f6368feb208003 Mon Sep 17 00:00:00 2001 From: Michal Fiedorowicz Date: Sat, 6 Jul 2024 11:28:40 +0100 Subject: [PATCH] fix: GHA lint and tests workflow permissions When dependabot creates a pull request, triggered github actions have read permissions only, and i.e. `MishaKav/pytest-coverage-comment` fails to submit a comment Signed-off-by: Michal Fiedorowicz --- .github/workflows/lint-tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/lint-tests.yml b/.github/workflows/lint-tests.yml index 48b7c39..e2e0ca0 100644 --- a/.github/workflows/lint-tests.yml +++ b/.github/workflows/lint-tests.yml @@ -10,6 +10,11 @@ concurrency: group: ${{ github.workflow }} cancel-in-progress: false +permissions: + contents: write + checks: write + pull-requests: write + jobs: tests: runs-on: ubuntu-latest