diff --git a/.woodpecker.yml b/.woodpecker.yml index 7a2d6f0..f1c2728 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -61,6 +61,21 @@ pipeline: - osv-detector composer.lock yarn.lock failure: ignore + comment_on_failure: + image: tsakidev/giteacomment:latest + secrets: [gitnet_token] + environment: + - DRONE_REPO_NAMESPACE=${CI_REPO_NAME} + - DRONE_REPO_NAME=${CI_REPO} + - DRONE_PULL_REQUEST=${CI_COMMIT_PULL_REQUEST} + settings: + gitea_token: ${GITNET_TOKEN} + gitea_base_url: https://gitnet.fr + comment: "Pipeline [#${CI_PIPELINE_NUMBER}](${CI_PIPELINE_LINK}) failed. + when: + status: [failure] + event: pull_request + deploy: image: deblan/php:8.1 secrets: [ssh_user, ssh_host, ssh_priv_key, app_directory]