Cast pr number

This commit is contained in:
Heiner Lohaus 2024-01-21 17:41:40 +01:00
parent f5ab6f8531
commit 04ec265ba0

View File

@ -32,7 +32,7 @@ def get_pr_details(github: Github) -> PullRequest:
""" """
'./pr_number' './pr_number'
with open('./pr_number', 'r') as file: with open('./pr_number', 'r') as file:
pr_number = file.read() pr_number = int(file.read())
if not pr_number: if not pr_number:
return return