From 5ef2885a8dc6760cda299a6f70933d49cd8e0bc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kie=C5=82kowicz?= Date: Wed, 28 Sep 2022 09:35:46 +0200 Subject: [PATCH] Fix permissions for assign reviews (#1287) --- .github/workflows/assign-reviewers.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/assign-reviewers.yml b/.github/workflows/assign-reviewers.yml index c5014523e6..ea42dad5b8 100644 --- a/.github/workflows/assign-reviewers.yml +++ b/.github/workflows/assign-reviewers.yml @@ -5,6 +5,10 @@ on: # the github token will not have sufficient permission to update the PR. pull_request_target: +permissions: + contents: read + pull-requests: write + jobs: assign: runs-on: ubuntu-latest