Skip to content

Commit 4e04573

Browse files
committed
Added ci property to understand if a command is run by CI
1 parent a916fd7 commit 4e04573

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/command/command.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ func UsageMetrics(command *cobra.Command, wg *sync.WaitGroup) {
385385
"network": Flags.Network,
386386
"version": build.Semver(),
387387
"os": runtime.GOOS,
388+
"ci": os.Getenv("CI") != "", // CI is commonly set by CI providers
388389
},
389390
})
390391
wg.Done()

0 commit comments

Comments
 (0)