mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-09-25 22:55:34 +00:00
fix(ci): repair agent observability dispatch and runner cleanup (#9204)
Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
@@ -238,6 +238,8 @@ def github_api(token: str, method: str, path: str, body: dict | None = None) ->
|
||||
)
|
||||
try:
|
||||
with urllib.request.urlopen(request, timeout=30) as response:
|
||||
if response.status == 204:
|
||||
return {}
|
||||
return json.loads(response.read().decode("utf-8"))
|
||||
except urllib.error.HTTPError as error:
|
||||
# GitHub's error body says exactly why (e.g. "Must have admin rights to
|
||||
|
||||
Reference in New Issue
Block a user