mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[GH-ISSUE #519] [Feature] 工作流通知模块增加默认通知模板和预设变量 #332
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#332
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kakou-2 on GitHub (Mar 14, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/519
功能描述
目前工作流的通知模板中,没有预设的通知模板,每一个工作量都需要根据内容自定义。希望能实现如下功能:
1.新增一个默认的通知模板,同时预设变量如:域名、证书申请情况、证书部署情况等变量,如:
通知主题:${workloadExecutionStatus}(X工作流执行成功;X工作流执行失败;)
通知内容:
${DOMAINS}域名证书申请和部署情况如下:
证书申请结果:${certificateApplicationStatus} 【申请成功;申请失败,失败原因${applicationFailure}】
证书部署结果:${certificateDeploymentStatus} 【部署成功,已经部署至于${deploymentTarget};部署失败,失败原因${deploymentFailure}】
工作流执行时间:${time}
动机
增加通知可读性,了解具体工作量情况。
替代方案
通过执行结果分支实现一定需求的执行情况通知(只能固定字段)。
其他信息
暂无
@fudiwei commented on GitHub (Mar 14, 2025):
感谢建议。后续有类似的迭代计划,但具体呈现效果可能不会是这个样子。