Skip to content

Commit

Permalink
Update auto_cl.py
Browse files Browse the repository at this point in the history
  • Loading branch information
themanyfaceddemon committed Jun 26, 2024
1 parent 3527500 commit 7b8d0ea
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Tools/ATD/auto_cl.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,13 @@ def main():

github_token = sys.argv[1]
repo = sys.argv[2]
pr_number = int(sys.argv[3])
pr_number = sys.argv[3]

if pr_number is None:
logging.error("PR_NUMBER cannot be null")
sys.exit(1)

pr_number = int(pr_number)

pr_data = fetch_pr_data(github_token, repo, pr_number)

Expand Down

0 comments on commit 7b8d0ea

Please sign in to comment.