Merge pull request #32720 from ClickHouse/Avogar-patch-1

Update backport.py
This commit is contained in:
alexey-milovidov 2021-12-13 20:44:47 +03:00 committed by GitHub
commit b4f3600e84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ class Backport:
# First pass. Find all must-backports # First pass. Find all must-backports
for label in pr['labels']['nodes']: for label in pr['labels']['nodes']:
if label['name'] == 'pr-bugfix' or label['name'] == 'pr-must-backport': if label['name'] == 'pr-must-backport':
backport_map[pr['number']] = branch_set.copy() backport_map[pr['number']] = branch_set.copy()
continue continue
matched = RE_MUST_BACKPORT.match(label['name']) matched = RE_MUST_BACKPORT.match(label['name'])