Skip to content

Commit

Permalink
CI: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maxknv committed May 23, 2024
1 parent 8d69712 commit bd15e13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ci/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -1917,16 +1917,16 @@ def _cancel_pr_wf(s3: S3Helper, pr_number: int, cancel_sync: bool = False) -> No
print(
f"Canceling PR workflow run_id: [{wf_data.run_id}], pr: [{pr_number}]"
)
GitHub.cancel_wf(GITHUB_REPOSITORY, get_best_robot_token(), wf_data.run_id)
GitHub.cancel_wf(GITHUB_REPOSITORY, wf_data.run_id, get_best_robot_token())
else:
if not wf_data.sync_pr_run_id:
print("WARNING: Sync PR run id has not been found")
else:
print(f"Canceling sync PR workflow run_id: [{wf_data.sync_pr_run_id}]")
GitHub.cancel_wf(
"ClickHouse/clickhouse-private",
get_best_robot_token(),
wf_data.sync_pr_run_id,
get_best_robot_token(),
)


Expand Down

0 comments on commit bd15e13

Please sign in to comment.