Pin @github/copilot CLI version in package.json for Dependabot tracking#294
Merged
Pin @github/copilot CLI version in package.json for Dependabot tracking#294
Conversation
- Add @github/copilot ^0.0.417 as devDependency in package.json - Update check-models.yml to use npx @github/copilot instead of global install - Update sync-toolnames.yml to use npx @github/copilot instead of global install - Add npm ci step to install dependencies before running copilot CLI Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add pinned version for Copilot CLI in workflows
Pin @github/copilot CLI version in package.json for Dependabot tracking
Feb 25, 2026
Owner
|
@copilot , package-lock file was not updated, please run |
Contributor
Author
The package-lock.json was updated and committed in 8373a52. It includes all @github/copilot dependencies (125 lines added). The changes show @github/copilot@0.0.417 and all platform-specific binaries (darwin-arm64, darwin-x64, linux-arm64, linux-x64, win32-arm64, win32-x64) with their resolved URLs and integrity hashes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Workflows were installing
@github/copilotglobally without version pinning, triggering Scorecard security alerts and preventing Dependabot from tracking updates.Changes
@github/copilot: ^0.0.417to devDependenciesnpm install -g @github/copilotwithnpm ci+npx @github/copilotnpm cito install pinned dependencies, invoke vianpxThis approach ensures version consistency across CI runs and enables automated dependency updates via Dependabot.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.