Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a82e0a8f10 | ||
|
|
d1864c7030 |
@@ -43,7 +43,6 @@ def handle_event(request: GiteaRequest):
|
||||
commit_msg = request.head_commit['message']
|
||||
repo_url = request.repository['clone_url']
|
||||
branch_name = request.ref.split('/')[-1]
|
||||
logging.debug()
|
||||
# stop early if asked
|
||||
if commit_msg.lower().startswith('[skip ci]'):
|
||||
raise HTTPException(
|
||||
|
||||
@@ -28,5 +28,6 @@ def load_runner_script(path: Path) -> RunnerScript:
|
||||
with open(path, 'r') as fh:
|
||||
script = yaml.safe_load(fh)
|
||||
runner_script = RunnerScript.parse_obj(script)
|
||||
logging.debug('finished')
|
||||
return runner_script
|
||||
|
||||
Reference in New Issue
Block a user