|
| 1 | +# GitHub Workflows |
| 2 | + |
| 3 | +GitHub Actions workflows for integrating Augment's AI-powered code review and PR descriptions. |
| 4 | + |
| 5 | +## Installation |
| 6 | + |
| 7 | +### Install All Workflows |
| 8 | +```bash |
| 9 | +mkdir -p .github/workflows |
| 10 | +cd .github/workflows |
| 11 | +curl -O https://raw.githubusercontent.com/augmentcode/auggie/main/examples/workflows/describe-pr.yml |
| 12 | +curl -O https://raw.githubusercontent.com/augmentcode/auggie/main/examples/workflows/pr-review.yml |
| 13 | +curl -O https://raw.githubusercontent.com/augmentcode/auggie/main/examples/workflows/on-demand-description.yml |
| 14 | +curl -O https://raw.githubusercontent.com/augmentcode/auggie/main/examples/workflows/on-demand-review.yml |
| 15 | +curl -O https://raw.githubusercontent.com/augmentcode/auggie/main/examples/workflows/release.yml |
| 16 | +curl -O https://raw.githubusercontent.com/augmentcode/auggie/main/examples/workflows/test-action.yml |
| 17 | +git add .github/workflows/ |
| 18 | +git commit -m "Add Augment AI workflows" |
| 19 | +git push |
| 20 | +``` |
| 21 | + |
| 22 | +### Install Specific Workflows |
| 23 | +```bash |
| 24 | +mkdir -p .github/workflows |
| 25 | +cd .github/workflows |
| 26 | +curl -O https://raw.githubusercontent.com/augmentcode/auggie/main/examples/workflows/describe-pr.yml |
| 27 | +curl -O https://raw.githubusercontent.com/augmentcode/auggie/main/examples/workflows/pr-review.yml |
| 28 | +git add .github/workflows/ |
| 29 | +git commit -m "Add Augment AI workflows" |
| 30 | +git push |
| 31 | +``` |
| 32 | + |
| 33 | +## Setup |
| 34 | + |
| 35 | +**Required Secret**: Add `AUGMENT_SESSION_AUTH` to your repository: |
| 36 | +1. Go to Settings → Secrets and variables → Actions |
| 37 | +2. Click "New repository secret" |
| 38 | +3. Name: `AUGMENT_SESSION_AUTH` |
| 39 | +4. Value: Your Augment session authentication token |
| 40 | + |
| 41 | +## Available Workflows |
| 42 | + |
| 43 | +**Automatic**: |
| 44 | +- `describe-pr.yml` - Auto-generates PR descriptions |
| 45 | +- `pr-review.yml` - Auto-reviews new PRs |
| 46 | + |
| 47 | +**On-Demand** (triggered by labels): |
| 48 | +- `on-demand-description.yml` - Add `augment_describe` label |
| 49 | +- `on-demand-review.yml` - Add `augment_review` label |
| 50 | + |
| 51 | +**Other**: |
| 52 | +- `release.yml` - Automated release notes |
| 53 | +- `test-action.yml` - Manual testing |
| 54 | + |
| 55 | +## Customization |
| 56 | + |
| 57 | +Edit the `.yml` files to modify triggers, parameters, or add additional steps. |
0 commit comments