mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-30 05:44:17 +01:00
Merge branch 'ci-issue-bot-use-var' into 'main'
ci: Use issue bot native support for $ISSUE_BOT_API_TOKEN_FILE See merge request GNOME/glib!4910
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user