mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 04:11:03 +00:00
Read the actual commit status when updating Github
This commit is contained in:
parent
453caf033d
commit
6c2b64dd55
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ func updateGitHubStatus(repo *Repo, commit *Commit) error {
|
||||||
|
|
||||||
// convert from drone status to github status
|
// convert from drone status to github status
|
||||||
var message, status string
|
var message, status string
|
||||||
switch status {
|
switch commit.Status {
|
||||||
case "Success":
|
case "Success":
|
||||||
status = "success"
|
status = "success"
|
||||||
message = "The build succeeded on drone.io"
|
message = "The build succeeded on drone.io"
|
||||||
|
|
Loading…
Reference in a new issue