diff --git a/src/entrypoint.py b/src/entrypoint.py index b2601ab..76c38c0 100755 --- a/src/entrypoint.py +++ b/src/entrypoint.py @@ -121,8 +121,9 @@ def post_webhook(repo_token): log.debug(f'requests.post("{url}", json={json})') response = requests.post(url, json=json) response.raise_for_status() - log.debug(f"response.json(): {response.json()}") - assert response.json() == {"done": True}, response.json() + result = response.json() + log.debug(f"response.json(): {result}") + assert result.get("done", False), result def str_to_bool(value):