Skip to content
This repository was archived by the owner on Jun 28, 2023. It is now read-only.

Commit 63bd79d

Browse files
BUG: Track _new_ sha
1 parent c6cfebb commit 63bd79d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func main() {
103103
time.Sleep(20 * time.Second)
104104
pending = false
105105
builds := make(map[string]bool)
106-
statuses, _, err := client.Repositories.ListStatuses(ctx, owner, repo, *baseRef.Object.SHA, &github.ListOptions{})
106+
statuses, _, err := client.Repositories.ListStatuses(ctx, owner, repo, *baseObject.SHA, &github.ListOptions{})
107107
if err != nil {
108108
log.Fatalf("Cannot get statuses, %v", err)
109109
}

0 commit comments

Comments
 (0)