Skip to content

ci: add release notes automation (GitHub native auto-generated notes)#40

Merged
mpaulosky merged 3 commits intomainfrom
feature/release-notes-automation
Feb 23, 2026
Merged

ci: add release notes automation (GitHub native auto-generated notes)#40
mpaulosky merged 3 commits intomainfrom
feature/release-notes-automation

Conversation

@mpaulosky
Copy link
Copy Markdown
Owner

Summary

Implements GitHub native auto-generated release notes.

Changes

  • .github/release.yml\ — maps PR labels to release note sections
  • .github/workflows/squad-release.yml\ — replaces TODO stubs with tag-triggered release workflow

Process note

This was initially pushed directly to main in error. This PR follows the correct branch → build → PR process.

Labels mapping

  • \ ype:feature\ → 🎉 New Features
  • \ ype:bug\ → 🐛 Bug Fixes
  • \ ype:chore\ → 🔧 Improvements
  • \ ype:docs\ → 📚 Documentation
  • \ ype:spike\ → 🔬 Research
  • \priority:p0\ → 🚀 Infrastructure

Copilot and others added 2 commits February 23, 2026 10:44
- Add .github/release.yml to categorize PRs by label in release notes
- Update squad-release.yml: trigger on tag push, run dotnet test, generate notes
- Maps type:feature/bug/chore/docs/spike and priority:p0 labels to sections
- Uses gh release create --generate-notes for zero-dependency release notes

Closes #N/A (process remediation - was incorrectly pushed directly to main)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Merged aragorn-release-notes-impl.md decision into decisions.md
- Created session log with implementation summary

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 23, 2026 18:46
@mpaulosky mpaulosky added the type:chore Maintenance, refactoring, cleanup label Feb 23, 2026
@github-actions
Copy link
Copy Markdown

Test Results Summary

70 tests  +70   70 ✅ +70   2s ⏱️ +2s
 5 suites + 5    0 💤 ± 0 
 5 files   + 5    0 ❌ ± 0 

Results for commit 28d503a. ± Comparison against base commit 8adb4a5.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements GitHub's native auto-generated release notes feature for the TailwindBlogApp repository. The implementation replaces placeholder TODO stubs in the release workflow with a functional tag-triggered release pipeline that validates the codebase through testing before creating releases with automatically generated notes based on PR labels.

Changes:

  • Added .github/release.yml to configure release note categorization based on PR labels (6 categories)
  • Updated .github/workflows/squad-release.yml with complete .NET build/test/release pipeline triggered by semantic version tags
  • Added documentation in .squad/log/ and .squad/decisions/ tracking the implementation work

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
.github/release.yml Configures GitHub auto-generated release notes with label-to-category mappings for 6 sections (Features, Improvements, Docs, Bug Fixes, Research, Infrastructure)
.github/workflows/squad-release.yml Implements tag-triggered release workflow with .NET 10 build/test validation and release creation with auto-generated notes
.squad/log/2026-02-24T14-35-00Z-release-notes-impl.md Session log documenting the implementation work by Aragorn
.squad/decisions/inbox/aragorn-release-notes-impl.md Decision inbox entry documenting the release notes automation decision
.squad/decisions/decisions.md Updated with detailed implementation details and rationale for the release notes automation

Comment thread .github/release.yml
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.
Comment thread .github/workflows/squad-release.yml Outdated
- name: Set up .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
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.

Inconsistent .NET version configuration: This workflow uses dotnet-version: '10.0.x' while all other workflows in the repository use global-json-file: global.json to specify the .NET version. For consistency with the established pattern, replace the explicit version specification with global-json-file: global.json, which will use the SDK version defined in the global.json file (10.0.100).

Suggested change
dotnet-version: '10.0.x'
global-json-file: global.json

Copilot uses AI. Check for mistakes.
Comment thread .github/release.yml Outdated
Comment on lines +33 to +35
- title: "🚀 Infrastructure & DevOps"
labels:
- priority:p0
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.

Semantic mismatch: The label priority:p0 is defined in sync-squad-labels.yml as "Blocking release" (a priority indicator), but here it's mapped to "🚀 Infrastructure & DevOps" which is a category type. Priority labels should indicate urgency, not content type. Consider either: (1) creating a dedicated type:infrastructure or type:devops label for this category, or (2) removing this category if infrastructure changes should be categorized by their type (feature, bug, chore, etc.) instead.

Suggested change
- title: "🚀 Infrastructure & DevOps"
labels:
- priority:p0

Copilot uses AI. Check for mistakes.

## Decision Inbox Processed

Merged `aragorn-release-notes-impl.md` into `.squad/decisions/decisions.md`; deleted inbox file.
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.

Inconsistency in documentation: The log states "deleted inbox file" (line 17), but this PR is actually adding the file .squad/decisions/inbox/aragorn-release-notes-impl.md as a new file. If this file was previously deleted when the work was pushed directly to main, and this PR is meant to follow the correct branch → PR process (as stated in PR description), then this inbox file should probably not be re-added. Consider whether this inbox file should be included in this PR or if it should remain deleted as originally intended.

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

Copilot uses AI. Check for mistakes.
@@ -12,23 +12,46 @@ 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.
Comment thread .github/workflows/squad-release.yml Outdated
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
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.

Inconsistent action version: this workflow uses actions/checkout@v4 while all other workflows in the repository use @v6. For consistency and to use the latest version, update this to actions/checkout@v6.

Suggested change
- uses: actions/checkout@v4
- uses: actions/checkout@v6

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/squad-release.yml Outdated

- name: Build and test
- name: Set up .NET
uses: actions/setup-dotnet@v4
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.

Inconsistent action version: this workflow uses actions/setup-dotnet@v4 while all other workflows in the repository use @v5. For consistency and to use the latest version, update this to actions/setup-dotnet@v5.

Suggested change
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v5

Copilot uses AI. Check for mistakes.
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 21.95%. Comparing base (804e7b6) to head (d012b9f).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #40   +/-   ##
=======================================
  Coverage   21.95%   21.95%           
=======================================
  Files          20       20           
  Lines         492      492           
  Branches       17       17           
=======================================
  Hits          108      108           
  Misses        376      376           
  Partials        8        8           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mpaulosky
Copy link
Copy Markdown
Owner Author

@copilot open a new pull request to apply changes based on the comments in this thread

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 23, 2026

@mpaulosky I've opened a new pull request, #43, to work on those changes. Once the pull request is ready, I'll request review from you.

Co-authored-by: mpaulosky <60372079+mpaulosky@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@mpaulosky mpaulosky merged commit bb78f16 into main Feb 23, 2026
7 of 8 checks passed
@mpaulosky mpaulosky deleted the feature/release-notes-automation branch February 23, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:chore Maintenance, refactoring, cleanup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants