GitHub CI badge shows "no status"
Asked Answered
O

4

6

Create badge image:

Create badge image

Created badge image result:

[Created badge image result

Why is there not a "passing"/"failed"/"succeeded"?

Workflows

Opt answered 14/4, 2022 at 8:14 Comment(0)
C
9

I've run into this before, try using the name of the Action instead of the workflow file name.

CI

This snippet should work for you:

[![CI](https://github.com/sunnamed434/UIElementsUnturned/workflows/CI/badge.svg
)](https://github.com/sunnamed434/UIElementsUnturned/actions/workflows/NET_Framework_CI.yml)
Canale answered 14/4, 2022 at 19:2 Comment(1)
It seems like this is a new issue: github.com/github/feedback/discussions/14980Polymerism
F
2

the first URL shoul be without /actions
like this https://github.com/thereapr/reincarnated_mod/workflows/CI/badge.svg

Flessel answered 18/4, 2022 at 16:43 Comment(0)
T
-1

I got the same issue but neither the filename nor the workflow name works for me :(

[![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)
Tatiania answered 18/4, 2022 at 8:5 Comment(1)
This should work for you: github.com/thereapr/reincarnated_mod/workflows/CI/badge.svg Have to remember to remove actions from the URL when using the workflow name.Canale
U
-1

I had to rename my workflow to not have spaces and then use the workaround described at the top of this thread

Underwood answered 27/7 at 6:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.