Badge shows no status when latest run is skipped

I use workflow status badge for CI workflow on my repo here: https://github.com/onderceylan/pwa-asset-generator/actions?query=workflow%3ACI with the following url: https://github.com/onderceylan/pwa-asset-generator/workflows/CI/badge.svg

I also use semantic release package for CD and introduced if condition to skip the run when there’s a commit message including [skip ci]. Those chore commit messages are automated by semantic release and it should not execute a workflow run. Since the latest run is skipped by GitHub actions, badge shows no status.

Ideally, it should show the latest status before the skipped ones, whether it’s successful or failing. Can you please help on that?

1 Like