From cf6d4c398a723a30bb71881c538253d35d4f8338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Wed, 19 Nov 2025 16:16:50 +0100 Subject: [PATCH] ci: Use issue bot native support for $ISSUE_BOT_API_TOKEN_FILE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This has landed upstream as part of [1], so we can drop temporary our workaround (for once, it was really temporary! 🥳). Partially reverts: - bba1f8ac03a7c8c0484beb9736ab6523b49015fc - 41a5228ee6a4fd59b05a4d2893b7c6ac23e1c50f [1] https://gitlab.com/gitlab-org/distribution/issue-bot/-/merge_requests/27 --- .gitlab-ci.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a106f07ed..56265c7d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1059,12 +1059,7 @@ issue-bot: stage: report 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 - /issue-bot rules: - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "schedule"