From 24d0ae02ff1be5d971e90a6722aaaaaa558642d4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 1 Apr 2026 01:23:10 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20release-drafter?= =?UTF-8?q?/release-drafter=20action=20to=20v7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/draft.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/draft.yml b/.github/workflows/draft.yml index b7dbb92..d18a38a 100644 --- a/.github/workflows/draft.yml +++ b/.github/workflows/draft.yml @@ -21,6 +21,6 @@ jobs: pull-requests: write steps: # Drafts your next Release notes as Pull Requests are merged into "main" - - uses: release-drafter/release-drafter@6a93d829887aa2e0748befe2e808c66c0ec6e4c7 # v6 + - uses: release-drafter/release-drafter@139054aeaa9adc52ab36ddf67437541f039b88e2 # v7 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 06b9449912d0b0841bd137020f1da54c7b474207 Mon Sep 17 00:00:00 2001 From: tr4nt0r <4445816+tr4nt0r@users.noreply.github.com> Date: Wed, 1 Apr 2026 13:29:31 +0200 Subject: [PATCH 2/2] Fixes --- .github/workflows/autolabel.yml | 19 +++++++++++++++++++ .github/workflows/draft.yml | 11 +++-------- 2 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/autolabel.yml diff --git a/.github/workflows/autolabel.yml b/.github/workflows/autolabel.yml new file mode 100644 index 0000000..482b5fa --- /dev/null +++ b/.github/workflows/autolabel.yml @@ -0,0 +1,19 @@ +name: Auto Label + +on: + pull_request: + # Only following types are handled by the action, but one can default to all as well + types: [opened, reopened, synchronize] + pull_request_target: + types: [opened, reopened, synchronize] + +permissions: + contents: read + +jobs: + auto_label: + permissions: + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter/autolabeler@139054aeaa9adc52ab36ddf67437541f039b88e2 # v7 \ No newline at end of file diff --git a/.github/workflows/draft.yml b/.github/workflows/draft.yml index d18a38a..e7c2fd8 100644 --- a/.github/workflows/draft.yml +++ b/.github/workflows/draft.yml @@ -4,11 +4,6 @@ on: push: branches: - main - # pull_request event is required only for autolabeler - pull_request: - types: [opened, reopened, synchronize] - pull_request_target: - types: [opened, reopened, synchronize] permissions: contents: read @@ -18,9 +13,9 @@ jobs: runs-on: ubuntu-latest permissions: contents: write - pull-requests: write + pull-requests: read steps: # Drafts your next Release notes as Pull Requests are merged into "main" - uses: release-drafter/release-drafter@139054aeaa9adc52ab36ddf67437541f039b88e2 # v7 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file