Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Pilot Lvl 1
Message 1 of 2

GitHub Actions status badge always show failing with path URL

Solved! Go to Solution.

For example, in this repository, GitHub Actions for GitHub Pages, I put the workflow status badge with workflow name type URL.

 

https://github.com/peaceiris/actions-gh-pages/workflows/docker-image-ci/badge.svg

 

That shows "passing" and is expected behavior.

 

Also, the path type badges are available like the following:

 

https://github.com/peaceiris/actions-gh-pages/workflows/.github/workflows/docker-image-ci.yml/badge....

 

It always shows "failing". That seems to be a bug.

1 Reply
Highlighted
Solution
GitHub Partner
Message 2 of 2

Re: GitHub Actions status badge always show failing with path URL

Hi,

Thanks for your feedback! 

Please remove 'name' for your workflow, I copied your repo and the badge for path can display well on my side.

If the name keyword exists for your workflow, please just use workflow name for the badge.

Related link for more info, thanks.

https://help.github.com/en/actions/automating-your-workflow-with-github-actions/configuring-a-workfl...

BadgewithFilePath.png