Tessl 教程将拉取请求门禁与每周漂移扫描连接起来
在一篇由厂商撰写并以示例仓库演示的 Tessl 教程中,作者介绍了如何在每次拉取请求上运行文档测试,并通过 Tessl Reviewer GitHub App 运行验证器。验证器由警告级别改为错误级别;GitHub 分支保护还可选择将失败的检查设为合并前必须通过的条件。每周扫描会提交修复文档漂移的拉取请求,其发现可用于判断拉取请求门禁在哪些地方未能拦截漂移。文章说明该工作流使用示例项目进行了演示,应用于其他仓库时需要调整配置。
该教程展示了两个已记录流程之间的反馈闭环:拉取请求检查充当门禁,每周扫描则发现绕过门禁的漂移。扫描结果为应在哪里收紧门禁提供依据。
ARTICLE
The best loop finds nothing to fix
Chandler Mayo
·26 Nov 2026·12 min read

TL;DR: In Part 1, you built a check that runs on every change to a CLI's docs. In Part 2, you wrote a loop that sweeps for drift every week and opens a pull request to fix it. In this post, you'll connect the two: use what the sweep found to work out where the check fell short, run both halves of it on every pull request, and make them blocking, which turns the check into a gate. Then you'll run the sweep one more time and watch it come back empty, which is exactly what a good loop should do most weeks. That's what makes it a loop instead of a cron job.