From c13067cadf88c63d7faecf4e01ca6521b7a508fe Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Mon, 21 Aug 2023 23:12:20 +0200 Subject: [PATCH] ci: set permission for label application to PRs Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com> --- .github/workflows/build-pr.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-pr.yaml b/.github/workflows/build-pr.yaml index f831d14e0..f80ce3e9a 100644 --- a/.github/workflows/build-pr.yaml +++ b/.github/workflows/build-pr.yaml @@ -131,6 +131,9 @@ jobs: remove-build-label: name: Remove build label needs: create-artifact + permissions: + contents: read + pull-requests: write runs-on: ubuntu-latest if: always() steps: