From 62e362160b4b3e5897b51747727b762c198b638f Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Tue, 6 Feb 2024 11:19:16 +0000 Subject: [PATCH] .gitlab-ci.yml: Give API token to autobranch --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index acb7b7f41..da9baa5e5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -131,7 +131,7 @@ Autobranch: local worktree=$(mktemp -d --suffix "${branch}-repo") local patch=$(mktemp --suffix "$branch.patch") - lisa-combine-gitlab-mr --server "$CI_SERVER_HOST" --repo "$CI_PROJECT_PATH" --project-id "$CI_PROJECT_ID" --api-url "$CI_API_V4_URL" --mr-label "$label" --branch "$force_branch" && + lisa-combine-gitlab-mr --server "$CI_SERVER_HOST" --repo "$CI_PROJECT_PATH" --project-id "$CI_PROJECT_ID" --api-url "$CI_API_V4_URL" --api-token "$GITLAB_REPO_TOKEN" --mr-label "$label" --branch "$force_branch" && git fetch origin "$branch" && -- GitLab