Skip to content

Commit

Permalink
Use the PR title rather than parsing the commit message. (#15537)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc authored Dec 21, 2021
1 parent b6bd01a commit 7b018f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/qmk/cli/generate/develop_pr_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def fix_or_normal(info, fixes_collection, normal_collection):
match = git_expr.search(line)
if match:
pr_info = _get_pr_info(cache, gh, match.group("pr"))
commit_info = {'hash': match.group("hash"), 'title': match.group("title"), 'pr_num': int(match.group("pr")), 'pr_labels': [label.name for label in pr_info.labels.items]}
commit_info = {'hash': match.group("hash"), 'title': pr_info['title'], 'pr_num': int(match.group("pr")), 'pr_labels': [label.name for label in pr_info.labels.items]}
_categorise_commit(commit_info)

def _dump_commit_list(name, collection):
Expand Down

0 comments on commit 7b018f0

Please sign in to comment.