Auto-cancel causes status badge to show failure


#1

I really like the idea of auto-cancel, but there’s a problem with the current behavior. If I create a tag and push the branch + tag (in that order) to Github, then the branch build gets cancelled. This causes my status badge shows as “Failed”, even if the tag build is successful.

I feel like there are 2 ways to approach this:

  1. do not auto-cancel the branch build (ie: tag builds should not cause branch builds to be auto-cancelled)
  2. the status badge should show successful for tag builds as well as branch builds

Wrong badge status reported on GitHub project
Status badge status incorrect
#2