Compare commits

..
2 Commits
Author SHA1 Message Date
brb a82e0a8f10 fixed logging bug 2023-07-06 16:44:49 +02:00
brb d1864c7030 added logging 2023-07-06 16:44:37 +02:00
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -43,7 +43,6 @@ def handle_event(request: GiteaRequest):
commit_msg = request.head_commit['message'] commit_msg = request.head_commit['message']
repo_url = request.repository['clone_url'] repo_url = request.repository['clone_url']
branch_name = request.ref.split('/')[-1] branch_name = request.ref.split('/')[-1]
logging.debug()
# stop early if asked # stop early if asked
if commit_msg.lower().startswith('[skip ci]'): if commit_msg.lower().startswith('[skip ci]'):
raise HTTPException( raise HTTPException(
+1
View File
@@ -28,5 +28,6 @@ def load_runner_script(path: Path) -> RunnerScript:
with open(path, 'r') as fh: with open(path, 'r') as fh:
script = yaml.safe_load(fh) script = yaml.safe_load(fh)
runner_script = RunnerScript.parse_obj(script) runner_script = RunnerScript.parse_obj(script)
logging.debug('finished')
return runner_script return runner_script