Skip to content

feat: add agentic workflow to update release notes based on tag diff#186

Merged
Mossaka merged 3 commits intomainfrom
copilot/create-agnetic-workflow-for-release
Jan 6, 2026
Merged

feat: add agentic workflow to update release notes based on tag diff#186
Mossaka merged 3 commits intomainfrom
copilot/create-agnetic-workflow-for-release

Conversation

Copy link
Contributor

Copilot AI commented Jan 5, 2026

Adds an agentic workflow that triggers on new releases and automatically enhances release notes by analyzing the diff between the current and previous tags.

Changes

  • New workflow (update-release-notes.md): Triggers on release: published and workflow_dispatch
  • Diff analysis: Uses git log, git diff, git tag, git show to compare tags
  • Categorized output: Generates structured release notes with Features, Bug Fixes, Security, Documentation, etc.
  • Safe output: Uses update-release to securely update the release body

Workflow behavior

  1. Receives tag name from ${{ github.event.release.tag_name }}
  2. Finds previous tag via git tag --sort=-version:refname
  3. Analyzes commits and file changes between tags
  4. Replaces release notes with enhanced, categorized summary
  5. Handles first release case (no previous tag)
Original prompt

create a new agnetic workflow that triggred by the new release and update the release notes based on the diff of latest tag and the prior tag.

Custom agent used: create-agentic-workflow
Design agentic workflows using GitHub Agentic Workflows (gh-aw) extension with interactive guidance on triggers, tools, and security best practices.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits January 5, 2026 23:35
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot AI changed the title [WIP] Create new agnetic workflow for release trigger feat: add agentic workflow to update release notes based on tag diff Jan 5, 2026
Copilot AI requested a review from Mossaka January 5, 2026 23:39
@Mossaka Mossaka marked this pull request as ready for review January 6, 2026 00:16
@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

Test Coverage Report

Metric Coverage Covered/Total
Lines 81.02% 1230/1518
Statements 80.98% 1261/1557
Functions 78.16% 136/174
Branches 72.56% 410/565
Coverage Thresholds

The project has the following coverage thresholds configured:

  • Lines: 38%
  • Statements: 38%
  • Functions: 35%
  • Branches: 30%

Coverage report generated by `npm run test:coverage`

@Mossaka Mossaka merged commit c6ab07a into main Jan 6, 2026
40 of 41 checks passed
@Mossaka Mossaka deleted the copilot/create-agnetic-workflow-for-release branch January 6, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants