Skip to content

Commit f7e473c

Browse files
committed
typo
1 parent a52ceb1 commit f7e473c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/update_release_pr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def get_github_prs(token: str, owner: str, repo: str, label: str = "", state: st
2525

2626
milestone_id = None
2727
milestone_url = f"https://api.github.com/repos/{owner}/{repo}/milestones"
28-
params = {"state": open}
28+
params = {"state": "open"}
2929

3030
try:
3131
response = requests.get(milestone_url, headers=headers, params=params)
@@ -103,7 +103,7 @@ def get_prs(pull_request_items: list[dict], label: str = "", state: str = "all")
103103
pr_list.append(pr)
104104
count += 1
105105

106-
print(f"Found {count} PRs with {label if label else "no"} label and state as {state}")
106+
print(f"Found {count} PRs with {label if label else 'no'} label and state as {state}")
107107

108108
return pr_list
109109

0 commit comments

Comments
 (0)