From 252cd9da8ac917356417ddb8d7a248d36e6a69c8 Mon Sep 17 00:00:00 2001 From: Florian Greinacher Date: Fri, 3 May 2024 13:36:45 +0200 Subject: [PATCH] ci(assign): define permissions for auto assign workflow --- .github/workflows/assign.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/assign.yml b/.github/workflows/assign.yml index 1ac9f7cd..43a7c6cb 100644 --- a/.github/workflows/assign.yml +++ b/.github/workflows/assign.yml @@ -15,8 +15,13 @@ on: pull_request: types: [opened, ready_for_review] +permissions: {} + jobs: add-reviews: runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write steps: - uses: kentaro-m/auto-assign-action@v2.0.0