ci(regen): run the API regeneration every day, not once a week (#54)

Telegram can change the Bot API at any time; a daily run keeps the
generated API at most a day behind.
This commit is contained in:
2026-11-29 10:32:41 +00:00
committed by GitHub
parent cec37b7b95
commit 898c19609c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ make snapshot # grab the latest HTML from core.telegram.org
make regen # scrape → audit → emit Go → run tests → regenerate docs
```
The audit tool checks for `any`-typed escapes, surprise `bool` returns, and signature drift. CI runs it on every PR, and a weekly workflow opens an auto-PR with regenerated code so a new Bot API version never sits longer than a week.
The audit tool checks for `any`-typed escapes, surprise `bool` returns, and signature drift. CI runs it on every PR, and a daily workflow opens an auto-PR with regenerated code so a new Bot API version never sits longer than a day.
If something in Telegram's docs trips up the scraper, add an override to `internal/spec/overrides.json`. The audit will tell you what to put there.