Add .github/hooks/hooks.json for Copilot Skills reference telemetry#48610
Open
Add .github/hooks/hooks.json for Copilot Skills reference telemetry#48610
Conversation
Agent-Logs-Url: https://github.com/Azure/azure-sdk-for-java/sessions/5fb4ff6b-c53e-43b7-a192-b5c2bbcd4bfb Co-authored-by: praveenkuttappan <55455725+praveenkuttappan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
praveenkuttappan
March 27, 2026 13:16
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Copilot hook configuration under .github/hooks/ to run the repo’s telemetry ingestion script after each tool invocation, to collect Skills reference telemetry for this repository.
Changes:
- Added
.github/hooks/hooks.jsondefining aPostToolUsecommand hook. - Configured the hook to run
pwsh eng/common/scripts/azsdk_tool_telemetry.ps1with a 5-second timeout.
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.
Summary
Adds
.github/hooks/hooks.jsonto enable the Copilot hook for collecting Skills reference telemetry.Changes
.github/hooks/hooks.jsonwith aPostToolUsehook that runspwsh eng/common/scripts/azsdk_tool_telemetry.ps1with a 5-second timeout after each tool use.Purpose
This hook collects telemetry on Skills references used by Copilot in this repository, enabling better insights into how the SDK engineering tools are being utilized.