I’m trying to now set some badges for my travis like I used to do with Travis.
Following https://help.github.com/en/actions/automating-your-workflow-with-github-actions/configuring-a-workflow#adding-a-workflow-status-badge-to-your-repository, I’m trying to set a badge for my default “CI” named workflow:
As I speak, its current status is:
* the last 5 builds on the master branch passes. (+ some on forked branch)
* one build is running.
Using the name syntax: https://github.com/ubuntu/zsys/workflows/CI/badge.svg returns (“no status”) and the badge is grayed out.
Using the filename path syntax: https://github.com/ubuntu/zsys/workflows/.github/workflows/repo-quality.yaml/badge.svg, the returned status is “failing”.
I would expect:
filename and name syntax to match
boths to returns passing, as the current status on https://github.com/ubuntu/zsys/actions?query=workflow%3ACI.
For reference, the workflow file: https://github.com/ubuntu/zsys/blob/master/.github/workflows/repo-quality.yaml
Other workflow files in the same repository, which are “push: master”, shows the same pattern (no status when using name and incorrect failing status when filename is used).
Is there anything I’m doing wrong?
EDIT: now that the current CI job finished, the named version “CI” returns the correct status. However, the file path doesn’t, despite emptying the browser cache.