From 35764a7a2ff659e89d9db4ebed93b42037e4b15a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Thu, 29 Oct 2026 20:31:21 +0400 Subject: [PATCH] release-drafter: pass GITHUB_TOKEN to the action The action reads the token from the GITHUB_TOKEN environment variable and aborts with "token is required" when it is unset, so the workflow has been failing on every merged PR. Set it from the built-in GITHUB_TOKEN secret, as the hubot-kredits and kredits-web workflows already do. --- .gitea/workflows/release_drafter.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/release_drafter.yml b/.gitea/workflows/release_drafter.yml index ba9dc39..69a6098 100644 --- a/.gitea/workflows/release_drafter.yml +++ b/.gitea/workflows/release_drafter.yml @@ -9,3 +9,5 @@ jobs: steps: - name: Release Drafter uses: https://github.com/raucao/gitea-release-drafter@dev + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}