mirror of
https://github.com/mattermost/mattermost.git
synced 2026-11-29 08:09:58 +08:00
* feat(docs-ai): remind authors when merged PRs still carry Docs/Needed On the 8th and 12th of each month, comment on PRs merged in the last 180 days that still have Docs/Needed. Ask the author (or, for bot PRs, the human assignee or merger) to submit and merge the docs, or to swap the label for Docs/Done if that already happened. Link the writer's open docs PR when one exists. One comment per PR per run date. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * docs-ai reminder: pace comment posts, default to 45-day lookback - Space reminder comment posts one second apart and retry a rate-limited post with backoff; a post that still cannot go through is logged, the run continues with the next PR and exits non-zero at the end. - Grant pull-requests: write alongside issues: write for the remind job. - Default lookback is now 45 days (script, workflow input, README, tests). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * docs-ai reminder: wait per Retry-After / x-ratelimit-reset headers The shared gh helper now attaches the response status and headers to the error it throws (message unchanged). The reminder waits for Retry-After, then x-ratelimit-reset when the quota is spent, and falls back to the one-minute backoff otherwise. It also waits before moving on to the next PR once retries run out. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * docs-ai reminder: skip writer docs PRs by branch, not title The docs/pr-<n> head branch is set by the writer workflow and is what it already uses as its own loop guard; the PR title can be edited by anyone. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>