是否可以在GitHub上为私人回购提供CI徽章?
我有一个使用CircleCI的私有存储库。我可以在是否可以在GitHub上为私人回购提供CI徽章?,github,continuous-integration,circleci,Github,Continuous Integration,Circleci,我有一个使用CircleCI的私有存储库。我可以在README.md中制作一个徽章,以反映通过/失败的测试,例如: <img src="https://circleci.com/gh/mikemaccana/someapp.svg?style=shield"/> (降价同样有效) 然而,在github.com上发布的页面上,github似乎将此URL转换为以下内容: <img src="https://circleci.com/gh/mike
README.md
中制作一个徽章,以反映通过/失败的测试,例如:
<img src="https://circleci.com/gh/mikemaccana/someapp.svg?style=shield"/>
(降价同样有效)
然而,在github.com上发布的页面上,github似乎将此URL转换为以下内容:
<img src="https://circleci.com/gh/mikemaccana/someapp.svg?style=shield"/>
https://camo.githubusercontent.com/verylongstringofcharacters
私人回购是否可能有CI状态徽章?
如果这是一个解决方案,我可以更改Circle权限以公开测试状态。几个小时后,我找到了答案-请参阅 创建一个状态API令牌,转到项目的设置(位于右上角)>API权限,并创建一个范围为状态的令牌 将令牌包括在徽章代码中:
[![CircleCI](https://circleci.com///.svg?style=svg&circle-令牌=)]()