mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
Hmmm fix emojos?
This commit is contained in:
parent
708b590beb
commit
e939a10d98
1 changed files with 2 additions and 2 deletions
|
@ -483,12 +483,12 @@ async def github(request):
|
||||||
if description == "Pipeline failed on GitLab":
|
if description == "Pipeline failed on GitLab":
|
||||||
pipeline_id = target_url.split("/")[-1]
|
pipeline_id = target_url.split("/")[-1]
|
||||||
await notify(
|
await notify(
|
||||||
f'[{repository}] :red_circle: Pipeline [#{pipeline_id}]({target_url}) failed on branch {branches}'
|
f'[{repository}] 🔴 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]
|
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}] ✖️ Pipeline [#{pipeline_id}]({target_url}) canceled on branch {branches}'
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
await notify(
|
await notify(
|
||||||
|
|
Loading…
Reference in a new issue