[build] CI badge says build "passing" but it actually failed
kaby76 opened this issue · comments
This line does not work.
Line 1 in 3e31af6
The readme.md is no longer following the syntax for workflow badges. See the doc. https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge . I have no idea when all this changed, which explains to some extent why the badge is not working. Testing a fix on my own repo.
For grammars-v4, at this momemt, 6:42 PM UTC, this invalid link shows ok: https://github.com/antlr/grammars-v4/workflows/CI/badge.svg . But, this link--which is the correct link according to the doc--shows failed: https://github.com/antlr/grammars-v4/actions/workflows/main.yml/badge.svg . The actual result should be fail, because the last build on main is fail.