Skip to content

Commit 658e3c6

Browse files
authored
Fix type error
1 parent 49812ec commit 658e3c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/release-branches/release-branches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def main():
4646
if consider_backports:
4747
for i in range(int(major_version.strip("v"))-1, 0, -1):
4848
branch_name = f"releases/v{i}"
49-
if i >= OLDEST_SUPPORTED_MAJOR_VERSION:
49+
if i >= int(OLDEST_SUPPORTED_MAJOR_VERSION):
5050
backport_target_branches.append(branch_name)
5151

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

0 commit comments

Comments
 (0)