From a504ca2fad0ec13be48d46a9b323a4ba248373ad Mon Sep 17 00:00:00 2001 From: abs3nt Date: Sat, 21 Jan 2023 10:42:17 -0800 Subject: [PATCH] wp --- .woodpecker.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index e41f480..243c9d6 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -8,8 +8,6 @@ pipeline: - ./gospt completion fish > gospt_fish publish: - when: - event: tag image: woodpeckerci/plugin-gitea-release settings: skip_verify: true @@ -22,3 +20,22 @@ pipeline: api_key: from_secret: GITEA_KEY checksum: sha256 + when: + event: tag + + comment: + image: mcs94/gitea-comment + settings: + gitea_address: https://gitea.asdf.cafe + gitea_token: + from_secret: GITEA_KEY + comment: > + ✅ Build ${CI_BUILD_EVENT} of `${CI_REPO_NAME}` has status `${CI_BUILD_STATUS}`. + + 📝 Commit by ${CI_COMMIT_AUTHOR} on `${CI_COMMIT_BRANCH}`: + + `${CI_COMMIT_MESSAGE}` + + 🌐 ${CI_BUILD_LINK} + when: + event: [pull_request]