mirror of
https://github.com/github/awesome-copilot.git
synced 2026-07-15 02:21:04 +00:00
chore: publish from main
This commit is contained in:
@@ -3,7 +3,7 @@ title: 'Installing and Using Plugins'
|
||||
description: 'Learn how to find, install, and manage plugins that extend GitHub Copilot CLI with reusable agents, skills, hooks, and integrations.'
|
||||
authors:
|
||||
- GitHub Copilot Learning Hub Team
|
||||
lastUpdated: 2026-06-24
|
||||
lastUpdated: 2026-07-09
|
||||
estimatedReadingTime: '8 minutes'
|
||||
tags:
|
||||
- plugins
|
||||
@@ -160,6 +160,28 @@ To automatically register an additional marketplace for everyone working in a re
|
||||
|
||||
With this in place, team members automatically get the `my-org-plugins` marketplace available without running a separate `marketplace add` command. This replaces the older `marketplaces` setting, which was removed in v1.0.16.
|
||||
|
||||
### Pinning a Marketplace to a Specific Commit
|
||||
|
||||
*(v1.0.70+)* To ensure reproducibility and prevent unintended updates, you can pin a marketplace to an exact commit SHA using the `sha` field in the source configuration:
|
||||
|
||||
```json
|
||||
{
|
||||
"extraKnownMarketplaces": [
|
||||
{
|
||||
"name": "my-org-plugins",
|
||||
"source": "my-org/internal-plugins",
|
||||
"sha": "a1b2c3d4e5f6..."
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Pinning to a SHA guarantees that everyone on the team installs plugins from exactly that snapshot of the marketplace, regardless of subsequent changes to the repository. This is useful for:
|
||||
|
||||
- **Reproducible CI environments** — ensure builds always use the same plugin versions
|
||||
- **Change control** — review and approve plugin updates before rolling them out team-wide
|
||||
- **Stability** — prevent breaking changes in upstream marketplaces from impacting your team without notice
|
||||
|
||||
## Installing Plugins
|
||||
|
||||
### From Copilot CLI
|
||||
|
||||
Reference in New Issue
Block a user