https://github.com/brave/pull-merge
LLM Capabilities for your pull-requests
https://github.com/brave/pull-merge
ci github-actions llm openai pull-request
Last synced: 7 months ago
JSON representation
LLM Capabilities for your pull-requests
- Host: GitHub
- URL: https://github.com/brave/pull-merge
- Owner: brave
- License: mpl-2.0
- Created: 2023-10-09T13:12:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-16T23:56:21.000Z (7 months ago)
- Last Synced: 2025-07-18T09:04:22.853Z (7 months ago)
- Topics: ci, github-actions, llm, openai, pull-request
- Language: JavaScript
- Homepage:
- Size: 646 KB
- Stars: 24
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# 
puLL-Merge is a `github-action` to add LLM capabilities to pull-requests in `github`
## Usage
Add an action under `.github/workflow/security-action.yml` with the following content:
```yaml
name: puLL-Merge
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches: [main]
jobs:
pull-merge:
name: security
runs-on: ubuntu-latest
steps:
- uses: brave/pull-merge@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
```
## Testing LLM integrations (local)
### OpenAI
```bash
$ ./run.js ./src/openaiExplainPatch.js --apiKey= --owner= --repo= --patchBody= --debug=true
```
### Claude
```bash
$ ./run.js ./src/anthropicExplainPatch.js --apiKey= --owner= --repo= --patchBody= --debug=true
```