Github-Monitor
Github-Monitor copied to clipboard
github token格式已更新,无法使用github-monitor
4月5号,github更新了token的格式,导致github_monitor没法正常使用。 麻烦尽快更新一下新版本。
真的吗
作者估计不更新了吧
@lookie1999 @test2504 @lookie1999 最近比较忙 一直没时间处理 等我有时间了看一下~ 不好意思哈
我最近也发现这个问题了,我还以为是我更新了token但是没重启服务的原因,麻烦尽快更新一下版本吧。github的token半年过期,还没发现问题的应该是还没到期更新token。
@AnYeMoWang 由于github新token的问题,github_monitor已经罢工了。麻烦抽空看一下。
原因: pygithub 1.55版本才支持新的github token 深层原因: ubuntu 16.04 的python为3.5.2,然而pygithub1.55使用了3.6的f字符串特性,导致报语法错误
修复方案
- docker-compose stop,备份数据
- 修改Dockerfile中,From ubuntu:18.04
- 修改server/requirements.pip中,去掉pygithub的固定版本(或者指定到最新)
- 执行,docker-compose up -d --no-deps --build, docker rebuild
Hello, where should I get the token from? Can the token generated by my GitHub account only scan the resources on my GitHub?