Post-Push Notify

Sends a Slack or Teams notification after a successful push, including branch name, commit count, and summary.

AuthorNeexoCore
Updated
Eventpost-push
notificationsslackteams

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

Raw content

Copy this 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