CircleCI-Public / orb-tools-orb

Various tools for authoring and publishing CircleCI orbs
https://circleci.com/orbs/registry/orb/circleci/orb-tools
MIT License
51 stars 76 forks source link

Unknown argument `ownerId' issue when using orb-tools/pack #213

Closed lironrisk closed 1 year ago

lironrisk commented 1 year ago

Orb version:

orb-tools@12.0.3

What happened:

When using the orb-tools/pack to validate internal orb: workflows: lint-pack: jobs:

The following error is shown: Error: Unable to validate config: Exception applying arguments to field orbConfig': Unknown argumentownerId'.

It happens if I use org_id, org_slug or do not use any of them.

Expected behavior:

validation & packing should work with no errors. when running circleci orb pack & circleci orb validate everything works as it should.

Additional Information:

I also saw that there was a [https://github.com/CircleCI-Public/circleci-cli/issues/932](related issue in the circleci-cli) that been solved.

lironrisk commented 1 year ago

I opened a PR that I think should fixed it https://github.com/CircleCI-Public/orb-tools-orb/pull/214

KyleTryon commented 1 year ago

Merged! Will be releasing by end of week. Thank you @lironrisk !