You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
插件数量日益增长,容易使获取插件仓库信息达到速率限制。即便有多个pat token加持,但是插件数量仍在不断增加,仍然可能达到限制。
于是我想,可以在现有的 Action 定时工作流中,在请求上千个仓库信息时,优先使用生成的 GitHub App 令牌去拉取,一旦探测发现未安装 App 并抛出异常,就降级切换到备用的 PAT 令牌进行兜底获取,最后将清洗好的 JSON 数据直接自动推送到仓库分支供前端消费。
但是前提是拥有一个github APP,而且让插件作者安装,可能要在文档里面推广这种做法。
Beta Was this translation helpful? Give feedback.
All reactions