Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
angelapwen committed Dec 21, 2023
1 parent 49812ec commit 658e3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/release-branches/release-branches.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def main():
if consider_backports:
for i in range(int(major_version.strip("v"))-1, 0, -1):
branch_name = f"releases/v{i}"
if i >= OLDEST_SUPPORTED_MAJOR_VERSION:
if i >= int(OLDEST_SUPPORTED_MAJOR_VERSION):
backport_target_branches.append(branch_name)

f.write("backport_target_branches="+json.dumps(backport_target_branches)+"\n")
Expand Down

0 comments on commit 658e3c6

Please sign in to comment.