GitHub 插件 API 错误 301

我在日志中看到了一些错误,报告了 GitHub API 的 301 错误。

Discourse::GithubApi::Error: GitHub API error (status 301)

由于这些 301 错误,我无法设置新的 github_linkback_access_token,也无法在假设这是暂时性问题的情况下保存访问令牌。任何尝试保存该值的操作都会报告上述错误。

感谢你的报告 @DanEss :+1:

这些问题将通过以下 PR 修复

:left_arrow_curving_right: FIX: Follow GitHub API redirects for renamed and transferred repos by ZogStriP · Pull Request #44488 · discourse/discourse · GitHub
:label: UX: Allow `code` tags in admin notice messages by ZogStriP · Pull Request #44489 · discourse/discourse · GitHub
:abacus: FIX: Only count commits from configured repos for GitHub badges by ZogStriP · Pull Request #44490 · discourse/discourse · GitHub
:stethoscope: FEATURE: Report GitHub token and repo problems on the admin dashboard by ZogStriP · Pull Request #44491 · discourse/discourse · GitHub

太好了!

我把仓库移除后逐个重新添加,结果发现是一个已转移的仓库导致了重定向错误。你比我先发现了问题,我还没来得及回去更新工单呢!