Use the PR title rather than parsing the commit message. (#15537)
This commit is contained in:
		
							parent
							
								
									b6bd01aa8b
								
							
						
					
					
						commit
						7b018f097d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -97,7 +97,7 @@ def generate_develop_pr_list(cli):
 | 
			
		|||
        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):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue