mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
Add PR-Agent workflow and demo change
This PR demonstrates PR-Agent's automated review capabilities. The workflow will automatically review PRs when they are opened.
This commit is contained in:
parent
a84ba36cf4
commit
b829a54659
2 changed files with 36 additions and 0 deletions
14
.github/workflows/pr-agent.yml
vendored
Normal file
14
.github/workflows/pr-agent.yml
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
name: PR Agent
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
jobs:
|
||||
pr_agent_job:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: PR Agent action step
|
||||
uses: Codium-ai/pr-agent@main
|
||||
env:
|
||||
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
22
DEMO.md
Normal file
22
DEMO.md
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# PR-Agent Demo
|
||||
|
||||
This file was created to demonstrate PR-Agent's automated review capabilities.
|
||||
|
||||
**Demo Change:** $(date -u)
|
||||
|
||||
## What to Expect
|
||||
|
||||
When this PR is opened, PR-Agent will:
|
||||
1. Automatically analyze the changes
|
||||
2. Generate a comprehensive review with:
|
||||
- Estimated effort to review
|
||||
- Security concerns
|
||||
- Test coverage recommendations
|
||||
- Code improvement suggestions
|
||||
|
||||
You can also interact with PR-Agent by commenting:
|
||||
- `/review` - Get a review of the PR
|
||||
- `/improve` - Get code improvement suggestions
|
||||
- `/describe` - Auto-generate PR description
|
||||
- `/ask <question>` - Ask questions about the PR
|
||||
|
||||
Loading…
Reference in a new issue