diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 2899d1d..12b1f6c 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -2,11 +2,20 @@ name: Release Drafter on: push: - branches: ['main'] + branches: + - main + pull_request: + types: [opened, reopened, synchronize] + +permissions: + contents: read jobs: update_release_draft: - runs-on: ubuntu-20.04 + permissions: + contents: write + pull-requests: write + runs-on: ubuntu-latest steps: - uses: release-drafter/release-drafter@v5 env: