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"