GitHub CI 徽章显示“no status”。

6

创建徽章图像:

创建徽章图像

生成的徽章图像:

[生成的徽章图像

为什么没有“通过” /“失败” /“成功”状态?

工作流程

3个回答

9

我以前也遇到过这个问题,尝试使用Action的名称而不是工作流文件名。

CI

以下代码片段应该适用于您:

[![CI](https://github.com/sunnamed434/UIElementsUnturned/workflows/CI/badge.svg
)](https://github.com/sunnamed434/UIElementsUnturned/actions/workflows/NET_Framework_CI.yml)

1
看起来这是一个新问题:https://github.com/github/feedback/discussions/14980 - user

2

0

我遇到了同样的问题,但文件名和工作流名称都对我无效 :(

[![CI](https://github.com/thereapr/reincarnated_mod/actions/workflows/gradle.yml/badge.svg)](https://github.com/thereapr/reincarnated_mod/actions/workflows/gradle.yml)

[![CI](https://github.com/thereapr/reincarnated_mod/actions/workflows/CI/badge.svg)](https://github.com/thereapr/reincarnated_mod/actions/workflows/gradle.yml)

这应该适用于您:https://github.com/thereapr/reincarnated_mod/workflows/CI/badge.svg使用工作流名称时,必须记得从URL中删除“actions”。 - monolith

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接