Skip MR updates for GitLab
This commit is contained in:
parent
44ccc9327c
commit
cb53728bcd
1 changed files with 4 additions and 1 deletions
|
@ -232,7 +232,10 @@ def gl_mr_event(gateway, data):
|
||||||
else:
|
else:
|
||||||
action = "?"
|
action = "?"
|
||||||
body = f"[{project}] {username} {action} merge request !{oid}: {title}\n"
|
body = f"[{project}] {username} {action} merge request !{oid}: {title}\n"
|
||||||
|
if action in ["open", "reopen"]:
|
||||||
body += f"{description}"
|
body += f"{description}"
|
||||||
|
elif action == "update":
|
||||||
|
return
|
||||||
|
|
||||||
logging.debug(body)
|
logging.debug(body)
|
||||||
mb_url = config["gitlab_gateway"]
|
mb_url = config["gitlab_gateway"]
|
||||||
|
|
Reference in a new issue