diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 6e808b5ac8..8461e501fe 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -6,7 +6,7 @@ on: branches: - '[0-9].*' # pull_request event is required only for autolabeler - pull_request_target: + pull_request: types: [opened, reopened, synchronize] permissions: @@ -27,5 +27,6 @@ jobs: with: # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml config-name: release-drafter-config.yml + commitish: main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}