Post comment to MR target not MR source project
This commit is contained in:
parent
5bf2ef12eb
commit
818a87802f
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue