Keeps the team informed about pushes by sending a formatted notification to Slack or Microsoft Teams after each push.
What Gets Sent
Branch name
Number of commits pushed
One-line summary of each commit
Author name
Link to the compare view on GitHub
Setup
Set SLACK_WEBHOOK_URL or TEAMS_WEBHOOK_URL in your environment
Add the hook script to .github/hooks/notify.mjs
Register via Copilot hooks configuration
Raw content
Copy into your project — e.g. .instructions.md, .agent.md, or SKILL.md
## Overview
Keeps the team informed about pushes by sending a formatted notification to Slack or Microsoft Teams after each push.
## What Gets Sent
- Branch name
- Number of commits pushed
- One-line summary of each commit
- Author name
- Link to the compare view on GitHub
## Setup
1. Set `SLACK_WEBHOOK_URL` or `TEAMS_WEBHOOK_URL` in your environment
2. Add the hook script to `.github/hooks/notify.mjs`
3. Register via Copilot hooks configuration