From e13d4745efc4e11a670be4e413b150b06984c7c2 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Wed, 25 May 2022 18:25:42 +0300 Subject: [PATCH] github: Add permissions for labeler action Should solve this: ``` Error: HttpError: Resource not accessible by integration Error: Resource not accessible by integration ``` Signed-off-by: Donatas Abraitis --- .github/workflows/base-branch-label.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/base-branch-label.yml b/.github/workflows/base-branch-label.yml index 8fd273fcee..9572ee7ee2 100644 --- a/.github/workflows/base-branch-label.yml +++ b/.github/workflows/base-branch-label.yml @@ -9,6 +9,9 @@ on: jobs: label: runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write steps: - uses: actions/checkout@v2 - uses: actions-ecosystem/action-add-labels@v1 -- 2.39.5