Status badge incorrectly shows failing when deploy is auto cancelled

Hi there,

My site is auto deployed when I make an update to my github repo. I found that whenever I make a change to files which don’t impact the content of my website (e.g. updating the repository .readme) the build is triggered, then cancelled because there was no change to the website content.

When that happens the status badge shows as failing, but it’s not failing - it was just automatically cancelled because there was no reason to do the deployment.

Is this a bug, or something that I’m doing incorrectly?

Hi, @MeStrak, and welcome to our Netlify community forum.

I completely agree with you that the badge should still show “Success” not “Failed” because there wasn’t a failure.

This issue is a limitation of the status badges which is that, currently, they treat any most recent build that didn’t complete (or isn’t in progress) as a failure.

I have filed an issue to track this. If/when this issue is resolved we’ll update this community topic to let you know.

Thanks for reporting this and please let us know if there are other questions about this.

1 Like