mirror of
https://github.com/coder/coder.git
synced 2026-06-03 13:08:25 +00:00
76bfcc78df
This pull request adds a new GitHub Actions workflow, `code-review.yaml`, to automate AI-powered code review for pull requests. The workflow creates a Coder Task that uses an AI agent to analyze PR changes, review code quality, identify issues, and post committable suggestions directly on the PR. The workflow can be triggered by adding the "code-review" label or via manual dispatch. Key additions and features: **AI-Powered Code Review Workflow** * Introduces `.github/workflows/code-review.yaml`, a comprehensive workflow that triggers on PR labeling or manual dispatch to initiate an AI-driven code review using Coder Tasks. * The workflow includes steps to determine PR context, extract repository info, build a detailed code review prompt with clear instructions and examples, and submit the review as inline suggestions using GitHub's native suggestion syntax.