Add code-review agentic workflow#126066
Merged
stephentoub merged 4 commits intodotnet:mainfrom Mar 25, 2026
Merged
Conversation
Add an agentic workflow that runs on pull_request opened/synchronize events. It reads the code-review skill (SKILL.md) and posts a structured review comment on the PR using safe-outputs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
hoyosjs
approved these changes
Mar 25, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new GitHub Agentic Workflow that runs the repository’s code-review skill automatically on PR updates and posts the results as a PR comment, with Copilot PAT pool integration and a compiled .lock.yml artifact.
Changes:
- Introduce
.github/workflows/code-review.mdagentic workflow definition (triggered on PR opened/synchronize). - Add compiled workflow artifact
.github/workflows/code-review.lock.yml. - Update
.github/aw/actions-lock.jsonto includegithub/gh-aw-actions/setup@v0.63.1.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.github/workflows/code-review.md |
Defines the agentic “Code Review” workflow, safe-outputs policy, triggers, and prompt instructions. |
.github/workflows/code-review.lock.yml |
Generated/compiled workflow that will actually execute in GitHub Actions. |
.github/aw/actions-lock.json |
Locks the gh-aw setup action version used by the compiled workflow. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
ericstj
reviewed
Mar 25, 2026
| issues: false | ||
|
|
||
| on: | ||
| pull_request: |
Member
There was a problem hiding this comment.
You might also want workflow_dispatch to be able to force it to run
Member
Author
There was a problem hiding this comment.
How does one force it to run?
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Note
This PR was generated with the help of GitHub Copilot.
Add code-review agentic workflow
This adds a new agentic workflow (
.github/workflows/code-review.md) that automatically reviews pull requests using the repository's code-review skill.What it does
pull_requestevents (opened,synchronize) — i.e., new PRs and new pushes to existing PRs.github/skills/code-review/SKILL.mdat runtime for the full review process, analysis categories, output format, and verdict rulesadd-commentsafe outputhide-older-comments: true)Configuration
contents: read,issues: read,pull-requests: read)safe-outputs(singleadd-commentwithmax: 1)toolsets: [default]) for reading PR diffs, files, and metadata