Merge pull request #32323 from ClickHouse/kssenii-patch-2

Update backport.py
This commit is contained in:
Kseniia Sumarokova 2021-12-07 10:48:19 +03:00 committed by GitHub
commit 96bc93740c
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
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()
continue
matched = RE_MUST_BACKPORT.match(label['name'])