Skip to content

Commit 5947636

Browse files
Update README.md
1 parent 2e6ee9e commit 5947636

File tree

1 file changed

+44
-9
lines changed

1 file changed

+44
-9
lines changed

README.md

Lines changed: 44 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,56 @@
1-
# Hello world docker action
1+
# CodeBuddy
2+
3+
The AI Code Review Partner For You!
4+
5+
Cut code reviews time, reduce bugs, improve your code quality with the power of LLM agents. Everything for free!
6+
7+
## Before Usage
8+
9+
You need create a `code buddy key` at: https://codebuddy-react-nu.vercel.app
210

3-
This action prints "Hello World" or "Hello" + the name of a person to greet to the log.
411

512
## Inputs
613

7-
## `who-to-greet`
14+
| Name | Description | Required |
15+
|--------------------|---------------------------------------|----------|
16+
| owner | Owner of repository | true |
17+
| repository | Name of repository | true |
18+
| pull_request_number | Identifier of pull request | true |
19+
| github_token | Personal Access token to access repository | true |
20+
| code_buddy_key | Code Buddy Key to access AI Agent | true |
21+
| stack | Your stack of development | true |
22+
| total_comments | Total of comments by file | false |
823

9-
**Required** The name of the person to greet. Default `"World"`.
1024

1125
## Outputs
1226

13-
## `time`
27+
| Name | Description |
28+
|------------|----------------------------------------------------------------------|
29+
| Response | Returns the HTTP response from the CodeBuddy Agent request used to analyze the code. |
1430

15-
The time we greeted you.
1631

1732
## Example usage
1833

19-
uses: actions/hello-world-docker-action@v2
20-
with:
21-
who-to-greet: 'Mona the Octocat'
34+
```yml
35+
name: CodeBuddy CodeReview
36+
on:
37+
pull_request:
38+
types: [ opened, synchronize ]
39+
40+
jobs:
41+
ai_agent_code_review:
42+
runs-on: ubuntu-latest
43+
name: Job to make automatic code review with LLM
44+
steps:
45+
- name: CodeBuddy
46+
id: code_review
47+
uses: code-buddy-agent/code-buddy@v0.0.4
48+
with:
49+
owner: "${{ github.repository_owner }}"
50+
repository: code-buddy-agent
51+
pull_request_number: "${{ github.event.pull_request.number }}"
52+
github_token: "${{ secrets.GH_TOKEN }}"
53+
code_buddy_key: "${{ secrets.CODE_BUDDY_KEY }}"
54+
stack: "Java, Spring, Spring AI"
55+
total_comments: 2
56+
```

0 commit comments

Comments
 (0)