[GH-ISSUE #1170] [Feature] 通知内容模板插值添加工作流描述变量 #791

Open
opened 2026-03-03 01:06:02 +03:00 by kerem · 2 comments
Owner

Originally created by @xiaoQQya on GitHub (Jan 22, 2026).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/1170

Description / 功能描述

当前通知内容模板插值支持以下工作流相关变量:

  • workflow.id:工作流 ID
  • workflow.name:工作流名称
  • run.id:运行 ID

请求添加工作流描述变量的支持。

Motivation / 请求动机

丰富通知内容。

Miscellaneous / 其他

Contribution / 贡献代码

  • I am interested in contributing a PR for this! / 我乐意为此提交代码并发起 PR!
Originally created by @xiaoQQya on GitHub (Jan 22, 2026). Original GitHub issue: https://github.com/certimate-go/certimate/issues/1170 ### Description / 功能描述 当前通知内容模板插值支持以下工作流相关变量: * workflow.id:工作流 ID * workflow.name:工作流名称 * run.id:运行 ID 请求添加工作流描述变量的支持。 ### Motivation / 请求动机 丰富通知内容。 ### Miscellaneous / 其他 无 ### Contribution / 贡献代码 - [ ] I am interested in contributing a PR for this! / 我乐意为此提交代码并发起 PR!
Author
Owner

@fudiwei commented on GitHub (Jan 22, 2026):

能具体描述下你的使用场景吗?

<!-- gh-comment-id:3784419291 --> @fudiwei commented on GitHub (Jan 22, 2026): 能具体描述下你的使用场景吗?
Author
Owner

@xiaoQQya commented on GitHub (Jan 23, 2026):

能具体描述下你的使用场景吗?

使用 certimate 监控网站域名证书过期时,通知内容中想要携带网站具体地址(域名+端口)。

当前情况下,通知内容模板插值变量只能拿到证书域名信息(还有可能为泛域名),无法拿到监控网站具体的地址(域名+端口)。因此想将监控网站地址写到工作流描述中,在通知内容中通过工作流描述变量来获取监控网站地址。

<!-- gh-comment-id:3787588396 --> @xiaoQQya commented on GitHub (Jan 23, 2026): > 能具体描述下你的使用场景吗? 使用 certimate 监控网站域名证书过期时,通知内容中想要携带网站具体地址(域名+端口)。 当前情况下,通知内容模板插值变量只能拿到证书域名信息(还有可能为泛域名),无法拿到监控网站具体的地址(域名+端口)。因此想将监控网站地址写到工作流描述中,在通知内容中通过工作流描述变量来获取监控网站地址。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#791
No description provided.