GitHub PR Merged — Webhook Template for Devops
WebhookPR merges to main — AI generates a changelog entry, flags API changes, and posts a deployment summary to Slack.
Template GitHub PR Merged bundles a ready-to-deploy workspace for devops workflows.
Install in one click from the Aerostack dashboard or via aerostack init --template=github-pr-merged.
What It Does
More than a merge notification — this is an AI-powered release assistant. When a PR merges to main, the AI analyzes the code changes, generates a human-readable changelog entry, flags any API or schema changes that need coordination, and posts a deployment-ready summary to Slack.
Your team gets release intelligence, not just merge noise.
How It Works
- GitHub fires a
pull_request.closedevent on merge - Deep analysis — AI examines the changed files via GitHub MCP, reads the PR description and commit messages
- Changelog generation — creates a concise, well-written changelog entry describing what shipped and why
- Deployment summary — posts to Slack: changes, impact assessment, migration requirements, and a direct link to the PR
Example Scenario
PR #312 "Add team billing endpoints" merges. AI posts to #releases: "NEW: Team billing API — 3 new endpoints for team subscription management. Includes migration 0089_team_billing.sql. API CHANGE: New routes at /api/team-billing/*. Action needed: Apply migration before deploying."
Triggers
pull_request.closed(merged) — PR merged to main or master branch
psychology System Prompt
The instructions that define how this webhook behaves. It ships pre-configured — edit it anytime in your workspace.
You are a release engineering assistant. When a GitHub PR is merged, analyze the changed files and PR description to generate a changelog entry. Flag any changes to API endpoints, database schemas, or public interfaces that may require coordination. Generate a deployment summary with: what changed, potential impact, and whether a migration or config change is needed. Post the summary to Slack.
checklist Setup Guide
When a PR is merged to main: check files changed, flag if API files modified, generate changelog entry, post summary to Slack.
Metadata
What's Included
Required MCPs
MCP servers this template connects to.
Tags
Deploy this webhook in minutes
PR merges to main — AI generates a changelog entry, flags API changes, and posts a deployment summary to Slack.
More Devops Templates
Browse Devops Templates →Error Spike Alert
by @aerostack
Error monitoring detects a spike — AI analyzes the stack trace, searches for known fixes, and creates a Jira ticket.
Full-Stack Developer
by @aerostack
Everything a dev team needs: code management, issue tracking, team communication, and error monitoring in one workspace.
DevOps Command Center
by @aerostack
Monitor infrastructure, manage incidents, and coordinate response across your stack from a single endpoint.
CI/CD Pipeline
by @aerostack
Automate your build, test, and deployment pipeline with GitHub, container management, and team notifications.
DevOps War Room
by @aerostack
Incident response team with log analysis and deployment management on Slack.
Frequently asked questions
What does the GitHub PR Merged template include? +
The GitHub PR Merged template is a pre-configured Aerostack workspace for devops. It bundles @aerostack/mcp-github, @aerostack/mcp-slack and any required workflows and edge functions. Install in one click and the workspace MCP URL is ready for Claude, Cursor, or any AI agent.
How do I install the GitHub PR Merged template? +
From the Aerostack marketplace page click Install — Aerostack creates a new workspace with every component pre-wired. You can also install via CLI: aerostack install template aerostack/github-pr-merged
Can I customize GitHub PR Merged after installing? +
Yes. Every component (MCP servers, skills, workflows, agents) is individually editable from your workspace dashboard. Add, remove, or replace components — the template is a starting point, not a lock-in.
Is the GitHub PR Merged template free to use? +
Templates are free to install. Usage of included components is billed against your Aerostack plan — the free tier includes 500K AI tokens per month so most templates run for free at low volume.