diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index b782607b..1cf7b3c0 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -51,6 +51,7 @@ autolabeler: - label: 'dependencies' branch: - '/deps\/.+/' + - '/renovate\/.+/' - label: 'documentation' files: - '**/*.md' diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 4901e518..6f0155dd 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -2,14 +2,11 @@ name: Release Drafter on: workflow_dispatch: + pull_request_target: push: branches: - main -permissions: - contents: write - pull-requests: write - jobs: update_release_draft: runs-on: ubuntu-22.04 @@ -18,5 +15,6 @@ jobs: with: disable-releaser: github.ref != 'refs/heads/main' config-name: release-drafter.yml + commitish: main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}