Repository navigation
ci: 部署增加飞书交互式富卡片通知 - #4
Merged
Merged
Conversation
部署 job 末尾追加飞书 interactive 卡片通知,与 audio 两仓同款: - 成功绿头/失败红头,标题含仓库名 - 提交信息(前3非空行/截240字)+ 分支/提交/结果/时间四宫格 - 「查看运行日志」按钮;关键词 UptimeKuma 在脚注 note - 提交信息只经 env→python(os.environ→json),绝不进 shell,杜绝注入 - 空 webhook 守卫 + continue-on-error,未配 secret/飞书故障都不影响部署 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动
部署 job 末尾追加飞书 interactive 富卡片通知,与 audio 两仓(已上线)逐字同款:
if: always()故成功失败都发)UptimeKuma在脚注 note(满足基础设施群 bot 关键词过滤)安全
提交信息
${{ github.event.head_commit.message }}仅经env→python(os.environ→json.dumps),绝不进 shell,杜绝注入。空 webhook 守卫 +continue-on-error:未配 secret / 飞书故障都不影响部署判定。验证
PyYAML 解析 + 抽 run 脚本 bash 真跑:run 与 audio 黄金版逐字一致、空守卫生效、不可达 webhook 优雅失败、注入字符零逃逸。
🤖 Generated with Claude Code