Skip to content

Commit 012c997

Browse files
authored
Jake is going to give me a prize right?
1 parent 4de01fc commit 012c997

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

api/github.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ func GithubEventHandler(c *gin.Context) {
2626
if checkSuiteEvent.Action != "requested" && checkSuiteEvent.Action != "rerequested" {
2727
return
2828
}
29-
30-
go func() {
31-
runner.CreateGR25Runs(checkSuiteEvent.CheckSuite.HeadSha)
32-
}()
33-
3429
} else if ghEventType == "check_run" {
3530
var checkRunEvent model.GithubCheckRunEvent
3631
if err := c.ShouldBindJSON(&checkRunEvent); err != nil {
@@ -45,10 +40,6 @@ func GithubEventHandler(c *gin.Context) {
4540
if checkRunEvent.Action != "rerequested" {
4641
return
4742
}
48-
49-
go func() {
50-
runner.CreateGR25Runs(checkRunEvent.CheckRun.HeadSha)
51-
}()
5243
}
5344

5445
c.JSON(http.StatusOK, gin.H{"message": "Github event received"})

0 commit comments

Comments
 (0)