From 33ca7470b03898edd8570a1ba9c0db2a7ddb067e Mon Sep 17 00:00:00 2001 From: Andreas Fritzler Date: Thu, 2 Nov 2023 13:51:32 +0100 Subject: [PATCH] Change release drafter permissions --- .github/workflows/release-drafter.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 3ee309c..7ba7755 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -7,8 +7,17 @@ on: pull_request: types: [ opened, reopened, synchronize ] +permissions: + contents: read + jobs: update_release_draft: + permissions: + # write permission is required to create a github release + contents: write + # write permission is required for autolabeler + # otherwise, read permission is required at least + pull-requests: write runs-on: ubuntu-latest steps: # Drafts your next Release notes as Pull Requests are merged into "main"