Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .github/prompts/releasemanager.prompt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
mode: agent
model: GPT-4.1 (copilot)
description: Generate release notes from a GitHub Pull Request URL
---

## Goal
Generate clean and structured **release notes** from a given GitHub Pull Request URL.

## Inputs
- A GitHub Pull Request URL.
Example: `https://github.com/<owner>/<repo>/pull/123`

## Expected Behavior
1. Parse the URL to extract `{owner}`, `{repo}`, and `{pull_number}`.
2. Use the **GitHub MCP server** tools to:
- Retrieve the list of commits for the Pull Request.
- Optionally fetch the PR title, description, author, merge date, and linked issues.
- Gather metadata such as changed files, labels, and additions/deletions if available.
3. Classify commits following **Conventional Commits** style:
- `feat`, `fix`, `perf`, `docs`, `refactor`, `test`, `chore`
4. Highlight any `BREAKING CHANGE` entries.
5. Summarize and format the information as a structured **Markdown release note**.
6. Use the **GitHub MCP server** to update the pull request description with the release notes.

## Remember
- Focus on clarity, conciseness, and relevance.
- Proceed without asking permissions.
- Do not create file output
- Use GitHub MCP server always

## Output Format (Markdown)

### Release Notes - {PR title}

#### ✨ Features
- …

#### 🐞 Fixes
- …

#### ⚠️ Breaking Changes
- …


#### 🔗 References
- PR: {url}
- Linked Issues: {#issue_numbers}

Note: add at the end of the body: "Created by AI 🤖"

## Style Guidelines
- Use concise, clear sentences in **active voice**.
- Avoid marketing or redundant phrasing.
- Order entries by type (`feat`, `fix`, etc.) and then by scope.
- If some data cannot be retrieved, clearly state that it’s missing — never invent information.
- The output must be **deterministic and reproducible**: same PR => same result.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Set Azure Web App Settings
run: |
az webapp config appsettings set \
--name deveats-wpc2025-test \
--name deveats-wpc2025-prod \
--resource-group deveats-wpc2025-rg \
--settings \
ConnectionStrings__DefaultConnection="${{ secrets.CONNECTION_STRING_PROD }}" \
Expand All @@ -63,7 +63,7 @@ jobs:
- name: Deploy to Azure Web App
uses: azure/webapps-deploy@v3
with:
app-name: 'deveats-wpc2025-test'
app-name: 'deveats-wpc2025-prod'
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE_PROD }}
package: .

Expand Down
Loading