Post comment to MR target not MR source project

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

View file

@ -97,7 +97,7 @@ bot-comment:
image: alpine:latest image: alpine:latest
script: script:
- apk add --no-cache glab - 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: rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event' - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
variables: variables: