From a55126a807944df891d998c5bc1ee76f016f4dc6 Mon Sep 17 00:00:00 2001 From: Bruno Verachten Date: Tue, 21 Apr 2026 15:20:19 +0200 Subject: [PATCH] ci(release-drafter): disable automatic triggers The action fails on every push and PR event because the repo has no releases, triggering a known pagination bug in release-drafter@v7 ("Data doesn't contain nodes field"). Since no releases are planned, replace all automatic triggers with workflow_dispatch so it can still be invoked manually if ever needed. Signed-off-by: Bruno Verachten --- .github/workflows/release-drafter.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 8f2afe74..872f813b 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -1,17 +1,7 @@ name: Release Drafter on: - push: - # branches to consider in the event; optional, defaults to all - branches: - - main - # pull_request event is required only for autolabeler - 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 event is required for autolabeler to support PRs from forks - # pull_request_target: - # types: [opened, reopened, synchronize] + workflow_dispatch: permissions: contents: read @@ -35,4 +25,4 @@ jobs: # config-name: my-config.yml # disable-autolabeler: true env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}