Post comment to MR target not MR source project

This commit is contained in:
xmppftw 2024-01-24 23:18:05 +01:00
parent 5bf2ef12eb
commit 818a87802f

View file

@ -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: