1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-01-23 17:53:23 +02:00

Read the actual commit status when updating Github

This commit is contained in:
Scott Ferguson 2014-02-10 14:08:33 -06:00
parent 453caf033d
commit 6c2b64dd55

View File

@ -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"