mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
Oopsies
This commit is contained in:
parent
8235ac30f4
commit
92139c1278
1 changed files with 1 additions and 0 deletions
|
@ -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}'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue