diff --git a/pkg/queue/queue.go b/pkg/queue/queue.go index 5d9a9e61..7ad39fde 100644 --- a/pkg/queue/queue.go +++ b/pkg/queue/queue.go @@ -201,7 +201,7 @@ func updateGitHubStatus(repo *Repo, commit *Commit) error { // convert from drone status to github status var message, status string - switch status { + switch commit.Status { case "Success": status = "success" message = "The build succeeded on drone.io"