From d96cdefcd756d4ff17d422ce541f1245da4608cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A2=8E=E5=BF=B5=5FNian?= Date: Fri, 10 May 2024 22:41:32 +0800 Subject: [PATCH] Added the ability to delete run logs --- delete_old_runs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delete_old_runs.py b/delete_old_runs.py index a7befbd..b8a0f54 100644 --- a/delete_old_runs.py +++ b/delete_old_runs.py @@ -36,7 +36,7 @@ class GitHubActionsManager: f"Failed to delete run with ID {run_id}. Status code: {response.status_code}" ) # 打印错误信息 - def delete_old_runs(self, max_workers=10): + def delete_old_runs(self, max_workers=64): next_page = self.runs_url # 初始化下一页的URL为第一页 while next_page: # 循环直到没有下一页 print(beijing_time) # 打印时间