From a2cb108e999655ff6ee99cbab08993725e64f167 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 29 Nov 2024 03:05:57 +0000 Subject: [PATCH] fix spacing --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 947c215..1c57dc0 100644 --- a/main.py +++ b/main.py @@ -183,7 +183,7 @@ def allocate_actions_runner(job_id, token): data = response.json() registration_token = data["token"] - time.sleep(1) # https://docs.github.com/en/rest/using-the-rest-api/best-practices-for-using-the-rest-api?apiVersion=2022-11-28#pause-between-mutative-requests + time.sleep(1) # https://docs.github.com/en/rest/using-the-rest-api/best-practices-for-using-the-rest-api?apiVersion=2022-11-28#pause-between-mutative-requests response = requests.post(f'{GITHUB_API_BASE_URL}/actions/runners/remove-token', headers=headers) response.raise_for_status() data = response.json()