From a78b51926eb398d256297629d0c47905eb920f6b Mon Sep 17 00:00:00 2001 From: nolte Date: Sat, 6 Jan 2024 23:11:28 +0100 Subject: [PATCH] add permissions --- .github/workflows/release-drafter.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index eae27dd..9cef492 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -10,5 +10,11 @@ on: jobs: update_release_draft: uses: nolte/gh-plumbing/.github/workflows/reuseable-release-drafter.yml@v1.0.24 + 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 secrets: token: ${{ secrets.GITHUB_TOKEN }}