diff --git a/projects/optic/src/commands/run.ts b/projects/optic/src/commands/run.ts index ae576e003d..e779d69f97 100644 --- a/projects/optic/src/commands/run.ts +++ b/projects/optic/src/commands/run.ts @@ -398,11 +398,10 @@ export const getRunAction = │ Local specs │ └─────────────────────────────────┘ - [1]: Comparing your local specifications to their latest \`${cloudTag}\` version in Optic cloud. - (Optic compares against the target branch tag upon a PR/MR event, and the current branch tag otherwise) + [1]: Comparing your local specifications to their last uploaded Optic cloud version for tag \`${cloudTag}\`. + Optic compares local specs against the target branch upon PR/MR events, and the current branch upon push events or local runs. - [2]: Pushing local specs as latest versions for \`${currentBranchCloudTag}\` in Optic cloud. - (Updating the current branch tag) + [2]: Pushing local specs as latest versions in Optic cloud for tag \`${currentBranchCloudTag}\`, the current branch tag. --------------------------------------------------------------------------------------------------`); if (!commentToken && isPR) { @@ -609,6 +608,13 @@ export const getRunAction = await flushEvents(); + if (!config.isInCi) { + logger.info(''); + logger.info( + `🤖 Don't forget to add Optic to your CI flow: https://www.useoptic.com/docs/setup-ci` + ); + } + if (exit1) { logger.info( 'Exiting with code 1 as errors were found. Disable this behaviour with the `--severity none` option.'