From 818a87802f8cd9ac2a847b7a6222e955e562267b Mon Sep 17 00:00:00 2001 From: xmppftw Date: Wed, 24 Jan 2024 23:18:05 +0100 Subject: [PATCH] Post comment to MR target not MR source project --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b48b055..0df5bea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -97,7 +97,7 @@ bot-comment: image: alpine:latest script: - apk add --no-cache glab - - glab mr --repo "$CI_PROJECT_PATH" comment $CI_MERGE_REQUEST_IID --unique --message "Thanks for your MR! You can preview the docs [here]($DOCS_BASEURL/$CI_MERGE_REQUEST_IID/)." + - glab mr --repo "$CI_MERGE_REQUEST_PROJECT_PATH" comment $CI_MERGE_REQUEST_IID --unique --message "Thanks for your MR! You can preview the docs [here]($DOCS_BASEURL/$CI_MERGE_REQUEST_IID/)." rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' variables: