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
32 changes: 32 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# GitHub Auto-Generated Release Notes Configuration
# Docs: https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes

changelog:
exclude:
labels:
- duplicate
- invalid
- wontfix
- question
authors:
- dependabot
categories:
- title: "🎉 New Features"
labels:
- type:feature
- enhancement
- title: "🔧 Improvements & Chores"
Copy link

Copilot AI Feb 23, 2026

Choose a reason for hiding this comment

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

Discrepancy with PR description: The PR description states that type:chore maps to "🔧 Improvements", but the actual implementation (line 18) uses "🔧 Improvements & Chores". Additionally, the PR description states that priority:p0 maps to "🚀 Infrastructure", but the implementation (line 33) uses "🚀 Infrastructure & DevOps". Update either the PR description or the file content to ensure consistency.

Copilot uses AI. Check for mistakes.
labels:
- type:chore
- refactor
- title: "📚 Documentation"
labels:
- type:docs
- documentation
- title: "🐛 Bug Fixes"
labels:
- type:bug
- bug
- title: "🔬 Research & Spikes"
labels:
- type:spike
52 changes: 38 additions & 14 deletions .github/workflows/squad-release.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,58 @@
name: Squad Release
# dotnet project — configure build, test, and release commands below

on:
push:
branches: [main]
tags:
- 'v*.*.*'

permissions:
contents: write

jobs:
release:
runs-on: ubuntu-latest
Copy link

Copilot AI Feb 23, 2026

Choose a reason for hiding this comment

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

Missing timeout configuration: All other workflows in the repository (squad-test.yml) specify timeout-minutes for their jobs (typically 10-15 minutes). Consider adding timeout-minutes: 15 to the release job to prevent it from running indefinitely in case of issues, which is consistent with the codebase convention.

Suggested change
runs-on: ubuntu-latest
runs-on: ubuntu-latest
timeout-minutes: 15

Copilot uses AI. Check for mistakes.
timeout-minutes: 15
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Build and test
- name: Set up .NET
uses: actions/setup-dotnet@v5
with:
global-json-file: global.json

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --configuration Release --no-restore

- name: Test
run: dotnet test --configuration Release --no-restore --no-build

- name: Check if release already exists
id: check_release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# TODO: Add your dotnet build/test commands here
# Go: go test ./...
# Python: pip install -r requirements.txt && pytest
# .NET: dotnet test
# Java (Maven): mvn test
# Java (Gradle): ./gradlew test
echo "No build commands configured — update squad-release.yml"

- name: Create release
TAG="${{ github.ref_name }}"
if gh release view "$TAG" --repo "${{ github.repository }}" > /dev/null 2>&1; then
echo "exists=true" >> $GITHUB_OUTPUT
else
echo "exists=false" >> $GITHUB_OUTPUT
fi

- name: Create release with auto-generated notes
if: steps.check_release.outputs.exists == 'false'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# TODO: Add your release commands here (e.g., git tag, gh release create)
echo "No release commands configured — update squad-release.yml"
gh release create "${{ github.ref_name }}" \
--title "${{ github.ref_name }}" \
--generate-notes \
--repo "${{ github.repository }}"

- name: Release already exists
if: steps.check_release.outputs.exists == 'true'
run: echo "✅ Release ${{ github.ref_name }} already published — skipping."
32 changes: 32 additions & 0 deletions .squad/decisions/decisions.md
Original file line number Diff line number Diff line change
Expand Up @@ -561,3 +561,35 @@ This recommendation aligns with IssueManager's:
**Ready to implement when Matthew approves.**

*— Gandalf, Lead/Architect, December 2024*

---

## Release Notes Automation Implementation — IssueManager

**Date:** 2026-02-23
**Agent:** Aragorn (Backend Dev)
**Status:** ✅ Implemented

### Decision

Implemented automated release notes generation using GitHub's native feature:
- Created `.github/release.yml` with label→section mapping for 6 categories
- Updated `.github/workflows/squad-release.yml` to trigger on tag push
- Integrated `dotnet test` validation and `--generate-notes` flag
- **Zero external dependencies** — GitHub native feature

### Implementation Details

**Files Created/Modified:**
1. `.github/release.yml` — Label mapping config (6 categories: Features, Improvements, Docs, Bug Fixes, Research, Infrastructure)
2. `.github/workflows/squad-release.yml` — Updated to detect new tags, run tests, and create releases with auto-generated notes

**Why this approach:**
- Matthew approved Gandalf's recommendation
- Works seamlessly with existing label-based triage system
- Minimal configuration required
- Backward compatible with existing releases

**Commit:** 406ec6d (pushed to origin/main)

*— Aragorn, Backend Dev, 2026-02-23*
4 changes: 4 additions & 0 deletions .squad/decisions/inbox/aragorn-release-notes-impl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
### 2026-02-23: Release notes automation implemented
**By:** Aragorn (Backend Dev)
**What:** Created .github/release.yml (label→section mapping) and updated squad-release.yml (trigger on tag push, runs dotnet test, uses --generate-notes). Zero external dependencies — GitHub native feature.
**Why:** Matthew approved Gandalf's recommendation for GitHub native auto-generated release notes.
27 changes: 27 additions & 0 deletions .squad/log/2026-02-24T14-35-00Z-release-notes-impl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Release Notes Automation Implementation — Session Log

**Date:** 2026-02-24T14:35:00Z
**Agent:** Scribe
**Task:** Log Aragorn's release notes automation work

## Summary

Aragorn implemented GitHub's native auto-generated release notes:
- Created `.github/release.yml` with 6 label→section mappings
- Updated `.github/workflows/squad-release.yml` for tag-triggered releases with dotnet test validation
- Zero external dependencies; backward compatible
- Commit: 406ec6d pushed to origin/main

## Decision Inbox Processed

Merged `aragorn-release-notes-impl.md` into `.squad/decisions/decisions.md`; inbox file retained in `.squad/decisions/inbox/`.

## References

- `.squad/decisions/decisions.md` — Updated with implementation details
- `.github/release.yml` — GitHub release notes configuration
- `.github/workflows/squad-release.yml` — Updated release workflow

---

*Scribe duties complete.*
Loading