Skip to content

Commit

Permalink
fix(auto-backport) wrong target branch
Browse files Browse the repository at this point in the history
Auto backport failed while searching for the wrong release branch name
(it was looking for `master2024.2` instead of `branch-2024.2`

Fixing it
  • Loading branch information
yaronkaikov authored and fruch committed Jan 9, 2025
1 parent 7731320 commit 16e404a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/auto-backport.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def main():
logging.info(f"Found PR #{pr.number} with commit {commits} and the following labels: {backport_labels}")
for backport_label in backport_labels:
version = backport_label.replace('backport/', '')
backport_base_branch = backport_label.replace('backport/', 'master')
backport_base_branch = backport_label.replace('backport/', 'branch-')
backport(repo, pr, version, commits, backport_base_branch)


Expand Down

0 comments on commit 16e404a

Please sign in to comment.