ci(pipeline): comment on failure (pr)
This commit is contained in:
parent
68a713bda4
commit
ee6f4a5966
|
@ -63,10 +63,14 @@ pipeline:
|
|||
|
||||
comment_on_failure:
|
||||
image: tsakidev/giteacomment:latest
|
||||
secrets: [gitnet_token]
|
||||
environment:
|
||||
- GITEA_TOKEN=${GITNET_TOKEN}
|
||||
- GITEA_BASE_URL=https://gitnet.fr
|
||||
- DRONE_REPO_NAMESPACE=${CI_REPO_NAME}
|
||||
- DRONE_REPO_NAME=${CI_REPO}
|
||||
- DRONE_PULL_REQUEST=${CI_COMMIT_PULL_REQUEST}
|
||||
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]
|
||||
|
|
Loading…
Reference in a new issue