Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements AI driven pull request description generator #6397

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,7 @@ src/references/networks.json
# Expo
.expo
dist/
web-build/
web-build/

# PRs
prs/*.md
41 changes: 41 additions & 0 deletions ai/pull-request-description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!-- https://github.com/rainbow-me/rainbow/pull/PULL_REQUEST_NUMBER.diff -->

Browse the pull request patch url, then after browsing that link, generate a markdown summary of the major changes that were introduced in this pull request. Parse the pull request number from the github link, and save the markdown in `./prs/pr-${PULL_REQUEST_NUMBER}.md`.

Use the below template to structure the markdown.

## 1. First major change

### First Heading

- bullet point 1
- bullet point 2 (if necessary)
- ...

### Second Heading

- bullet point 1
- bullet point 2 (if necessary)
- ...

## 2. Second major change

### First Heading

- bullet point 1
- bullet point 2 (if necessary)
- ...

## 3. Third major change

### First Heading

- bullet point 1
- bullet point 2 (if necessary)
- ...

Add more changes, and bullet points as necessary per the changes parsed from the patch file.

End the markdown file with a small TLDR or gist of the changes. Example below:

This PR represents a significant refactoring of the chain badge system, moving from static assets to remote images while improving the overall architecture and maintainability of the codebase.
Empty file added prs/.gitkeep
Empty file.
Loading