We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8350fec commit 9cd46a2Copy full SHA for 9cd46a2
next/main.go
@@ -84,6 +84,11 @@ func main() {
84
r.GET("/github/callback_fe", middleware.WebhookAuth(), diggerController.GithubAppCallbackPage)
85
r.POST("/github-app-webhook", diggerController.GithubAppWebHook)
86
87
+ if val, exists := os.LookupEnv("DIGGER_EXPOSE_GITHUB_APP_WIZARD"); exists && val == "true" {
88
+ r.GET("/github/setup", controllers.GithubAppSetup)
89
+ r.GET("/github/exchange-code", diggerController.GithubSetupExchangeCode)
90
+ }
91
+
92
r.POST("/_internal/process_runs_queue", middleware.WebhookAuth(), diggerController.ProcessRunQueueItems)
93
// process all drift crontabs
94
r.POST("/_internal/process_drift", middleware.WebhookAuth(), diggerController.TriggerCronForMatchingProjects)
0 commit comments