mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-25 12:22:13 +00:00
Merge pull request #39 from scottferg/master
Read the actual commit status when updating Github
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user