Skip to content

Commit 7f42425

Browse files
comment
1 parent a5eb755 commit 7f42425

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

codeflash/optimization/optimizer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ def run_with_args(args: Namespace) -> None:
310310

311311

312312
def is_pr_draft() -> bool:
313+
"""Check if the PR is draft. in the github action context."""
313314
try:
314315
event_path = os.getenv("GITHUB_EVENT_PATH")
315316
pr_number = get_pr_number()

0 commit comments

Comments
 (0)