メモ
This feature is in パブリック プレビュー and subject to change.
-
In your enterprise's
.github-privaterepository, navigate to the.github/copilot/directory. If you don't have a.github-privaterepository yet, see 企業でカスタム エージェントを使用する準備. -
Create or edit the
settings.jsonfile at.github/copilot/settings.json. -
Add your plugin policy configuration to the file. The
settings.jsonfile supports the following top-level properties:JSON { "extraKnownMarketplaces": { "MARKETPLACE-NAME": { "source": { "source": "github", "repo": "OWNER/REPO" } } }, "enabledPlugins": { "PLUGIN-NAME@MARKETPLACE-NAME": true } }{ "extraKnownMarketplaces": { "MARKETPLACE-NAME": { "source": { "source": "github", "repo": "OWNER/REPO" } } }, "enabledPlugins": { "PLUGIN-NAME@MARKETPLACE-NAME": true } }extraKnownMarketplaces: Defines additional plugin marketplaces available to CLI users. Each entry is a named marketplace object containing asourceproperty that specifies the provider ("github") and the repository inOWNER/REPOformat.enabledPlugins: Defines plugins that are automatically installed for all enterprise users. Each entry uses the formatPLUGIN-NAME@MARKETPLACE-NAMEas the key, with a boolean value oftrueto enable the plugin.
-
Commit and push your changes to the default branch of the
.github-privaterepository.
Once the configuration is committed, enterprise users will see the specified marketplaces and pre-installed plugins the next time they authenticate with Copilot CLI (コパイロット CLI).