Skip to content

[Draft] Add agentic workflow to comment on release notes PRs#2206

Draft
mazhelez wants to merge 8 commits into
microsoft:mainfrom
mazhelez-org:feature/agentic-release-notes-comments
Draft

[Draft] Add agentic workflow to comment on release notes PRs#2206
mazhelez wants to merge 8 commits into
microsoft:mainfrom
mazhelez-org:feature/agentic-release-notes-comments

Conversation

@mazhelez

@mazhelez mazhelez commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator

❔What, Why & How

Related to issue: #

✅ Checklist

  • Add tests (E2E, unit tests)
  • Update RELEASENOTES.md
  • Update documentation (e.g. for new settings or scenarios)
  • Add telemetry

@mazhelez mazhelez requested a review from a team as a code owner April 9, 2026 13:39
Copilot AI review requested due to automatic review settings April 9, 2026 13:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 replaces a legacy PowerShell script with a GitHub Agentic Workflow that can be manually dispatched to find open PRs modifying RELEASENOTES.md and post a standardized reminder comment after a release.

Changes:

  • Deleted the previous Internal/Scripts/CommentOnExistingReleaseNotesPrs.ps1 implementation.
  • Added an agent prompt definition (.md) describing how to detect the current release and which PRs to comment on.
  • Added the compiled gh-aw workflow lock file (.lock.yml) that runs the agent and applies Safe Outputs.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
Internal/Scripts/CommentOnExistingReleaseNotesPrs.ps1 Removes the prior standalone gh-based PowerShell implementation.
.github/workflows/CommentOnReleaseNotesPRs.md Defines the agent instructions and Safe Outputs configuration for commenting on release-notes PRs.
.github/workflows/CommentOnReleaseNotesPRs.lock.yml Adds the compiled workflow that executes the agent and performs comment writes via Safe Outputs.

Comment thread .github/workflows/CommentOnReleaseNotesPRs.md
Comment thread .github/workflows/CommentOnReleaseNotesPRs.lock.yml Outdated
Comment thread .github/workflows/CommentOnReleaseNotesPRs.lock.yml Outdated
Comment thread .github/workflows/CommentOnReleaseNotesPRs.lock.yml Outdated
@mazhelez mazhelez marked this pull request as draft April 9, 2026 13:47
@mazhelez mazhelez changed the title Add agentic workflow to comment on release notes PRs [Draft] Add agentic workflow to comment on release notes PRs Apr 9, 2026
@mazhelez

mazhelez commented May 4, 2026

Copy link
Copy Markdown
Collaborator Author

@copilot apply changes based on the comments in this thread

Please also fix the failing pre-commit.

mazhelez and others added 4 commits July 14, 2026 15:21
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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