From 41a5228ee6a4fd59b05a4d2893b7c6ac23e1c50f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 30 Oct 2025 21:55:06 +0100 Subject: [PATCH] ci: Actually use token file when starting the issue bot The issue bot has an entry-point, so it launches the tool by default and that would fail as per the missing env variable: 2025/10/30 17:57:43 unable to create GitLab client(s): please configure ISSUE_BOT_API_TOKEN environment variable (unable to find environment variable: ISSUE_BOT_API_TOKEN) So, go manual instead for real for now. See: https://gitlab.com/gitlab-org/distribution/issue-bot/-/issues/26 Related: https://gitlab.com/gitlab-org/distribution/issue-bot/-/merge_requests/27 --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e2dd2e1d7..8776d40c5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1015,7 +1015,11 @@ dist-job: issue-bot: stage: report - image: registry.gitlab.com/gitlab-org/distribution/issue-bot:latest + image: + name: registry.gitlab.com/gitlab-org/distribution/issue-bot:latest + # We need to launch it manually for now, until the token file is supported: + # https://gitlab.com/gitlab-org/distribution/issue-bot/-/merge_requests/27 + entrypoint: ["/bin/sh", "-e", "-l", "-c"] script: - ISSUE_BOT_API_TOKEN=$(cat "${ISSUE_BOT_API_TOKEN_FILE}") - export ISSUE_BOT_API_TOKEN