Adding support for optional commit_url in payload.
1 files changed, 4 insertions(+), 1 deletions(-)

M trello_broker/utils.py
M trello_broker/utils.py +4 -1
@@ 44,7 44,10 @@ def process_commits(repo, json_data):
             'author_full': commit['raw_author'],
             'changeset': commit['node'],
             'changeset_full': commit['raw_node'],
-            'commit_url': urljoin(base_commit_url, commit['raw_node']),
+            'commit_url': commit.get(
+                'commit_url',
+                urljoin(base_commit_url, commit['raw_node']),
+            ),
             'commit_message': msg,
         }