From 5c95e0e12f850942e75d8903dc3be30cbea30953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Th=C3=B6mmes?= Date: Tue, 30 Jul 2024 13:54:26 +0200 Subject: [PATCH] Enable release-drafter to auto-label PRs (#120) This is useful for the draft releases to be categorized better. --- .github/workflows/release-drafter.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 8beb394..b069aa0 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -4,19 +4,14 @@ on: push: branches: - main - pull_request_target: - types: - - edited - - opened - - reopened - - synchronize - workflow_dispatch: + pull_request: + types: [opened, reopened, synchronize] jobs: update_release_draft: permissions: contents: write - pull-requests: read + pull-requests: write runs-on: ubuntu-latest steps: - name: "Draft Release"