ci(pipeline): comment on failure (pr)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed

This commit is contained in:
Simon Vieille 2023-01-01 19:44:15 +01:00
parent 01117d031b
commit 68a713bda4
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -61,15 +61,16 @@ 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
comment_on_failure:
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