Report telemetry on develop and main branches (#195)

This commit is contained in:
Igor Gov 2021-08-10 18:10:02 +03:00 committed by GitHub
parent cbe04af801
commit 0409eb239d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,10 @@ func ReportRun(cmd string, args interface{}) {
return
}
if Branch != "main" && Branch != "develop" {
Log.Debugf("not reporting telemetry on private branches")
}
argsBytes, _ := json.Marshal(args)
argsMap := map[string]string{
"telemetry_type": "execution",