Skip to content

Add .github/hooks/hooks.json for Copilot Skills reference telemetry#48610

Open
Copilot wants to merge 1 commit intomainfrom
copilot/add-hooks-json-for-telemetry
Open

Add .github/hooks/hooks.json for Copilot Skills reference telemetry#48610
Copilot wants to merge 1 commit intomainfrom
copilot/add-hooks-json-for-telemetry

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 27, 2026

Summary

Adds .github/hooks/hooks.json to enable the Copilot hook for collecting Skills reference telemetry.

Changes

  • Created .github/hooks/hooks.json with a PostToolUse hook that runs pwsh eng/common/scripts/azsdk_tool_telemetry.ps1 with 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.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.json defining a PostToolUse command hook.
  • Configured the hook to run pwsh eng/common/scripts/azsdk_tool_telemetry.ps1 with a 5-second timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants