Skip to content

Commit

Permalink
♻️ Refactor usage of internal number_of_trials variable, it was not…
Browse files Browse the repository at this point in the history
… being used, fix typo (#75)
  • Loading branch information
nghiahsgs authored Nov 2, 2024
1 parent b04269e commit 6645d37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion latest_changes/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def main() -> None:
)
number_of_trials = 10
logging.info(f"Number of trials (for race conditions): {number_of_trials}")
for trial in range(10):
for trial in range(number_of_trials):
logging.info(f"Running trial: {trial}")
logging.info(
"Pulling the latest changes, including the latest merged PR (this one)"
Expand Down
2 changes: 1 addition & 1 deletion latest_changes/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3214,7 +3214,7 @@ class WorkflowRun(BaseModel):
head_branch: str = Field(..., example='master')
head_sha: str = Field(
...,
description='The SHA of the head commit that points to the version of the worflow being run.',
description='The SHA of the head commit that points to the version of the workflow being run.',
example='009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d',
)
run_number: int = Field(
Expand Down

0 comments on commit 6645d37

Please sign in to comment.