Update backport.py

This commit is contained in:
Kseniia Sumarokova 2021-12-07 10:47:17 +03:00 committed by GitHub
parent 926fd568c7
commit dc5707bdb5
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'])