circleci-cli icon indicating copy to clipboard operation
circleci-cli copied to clipboard

Auto-detect org in `config validate`

Open glenjamin opened this issue 1 year ago • 0 comments

What problem does this feature solve?:

> circleci config validate
Error: config compilation contains errors: config compilation contains errors:
	- Cannot find geckoboard/deployment-tooling@1 in the orb registry. Check that the namespace, orb name and version are correct.

> circleci config validate -o gh/geckoboard
Config file at .circleci/config.yml is valid.

Validation requires the caller to specify the org that the config will be run under.

This information could be inferred in the majority of cases by looking at the origin remote in .git/config - which would be a nice quality-of-life improvement

glenjamin avatar Jun 27 '24 14:06 glenjamin