mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
Cosmetics
This commit is contained in:
parent
4730e66f15
commit
dcd0a669e8
1 changed files with 2 additions and 2 deletions
|
@ -483,12 +483,12 @@ async def github(request):
|
|||
if description == "Pipeline failed on GitLab":
|
||||
pipeline_id = target_url.split("/")[-1]
|
||||
await notify(
|
||||
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":
|
||||
pipeline_id = target_url.split("/")[-1]
|
||||
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}'
|
||||
)
|
||||
else:
|
||||
await notify(
|
||||
|
|
Loading…
Reference in a new issue