ci(pipeline): comment on failure (pr)

This commit is contained in:
Simon Vieille 2023-01-01 19:39:18 +01:00
parent 1aa25a4064
commit 154857a0c2

View file

@ -61,6 +61,17 @@ pipeline:
- osv-detector composer.lock yarn.lock
failure: ignore
image: tsakidev/giteacomment:latest
settings:
gitea_token:
from_secret: gitnet_token
gitea_base_url: https://gitnet.fr
comment: |
Pipeline [#CI_PIPELINE_NUMBER](${CI_PIPELINE_LINK}) status is: ${CI_PIPELINE_STATUS}
when:
status: [failure]
event: pull_request
deploy:
image: deblan/php:8.1
secrets: [ssh_user, ssh_host, ssh_priv_key, app_directory]