This commit is contained in:
Alexandre Aubin 2023-01-20 12:38:26 +01:00
parent 8235ac30f4
commit 92139c1278

View file

@ -484,6 +484,7 @@ async def github(request):
f'[{repository}] :red_circle: Pipeline [{pipeline_id}]({target_url}) failed on branch {branches}' f'[{repository}] :red_circle: Pipeline [{pipeline_id}]({target_url}) failed on branch {branches}'
) )
elif description == "Pipeline canceled on GitLab": elif description == "Pipeline canceled on GitLab":
pipeline_id = target_url.split("/")[-1]
await notify( await notify(
f'[{repository}] :heavy_multiplication_x: Pipeline [{pipeline_id}]({target_url}) canceled on branch {branches}' f'[{repository}] :heavy_multiplication_x: Pipeline [{pipeline_id}]({target_url}) canceled on branch {branches}'
) )