forked from warpdotdev/oz-agent-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsuggest-review-fixes.yml
More file actions
38 lines (37 loc) · 1.31 KB
/
Copy pathsuggest-review-fixes.yml
File metadata and controls
38 lines (37 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Template workflow generated from examples/suggest-review-fixes.yml.
# Copy this file into .github/workflows/ in your own repository and customize as needed.
# Do not edit this file in-place in this repo; instead, edit the source example and run:
# npm run gen-workflows
# ======================================================================================
# Workflow: Suggest Review Fixes
# ======================================================================================
# Usage:
# - Triggers when a Pull Request Review is submitted.
# - Reads the review comments and uses the Oz Agent to suggest fixes.
#
# Setup:
# - Ensure WARP_API_KEY is set in Repository Secrets.
#
# Expected Output:
# - Inline replies to review comments with code suggestions where applicable.
#
# When to use:
# - Use this to automatically address simple review comments.
# ======================================================================================
name: Suggest Review Fixes
on:
pull_request_review:
types:
- submitted
jobs:
suggest_review_fixes:
uses: warpdotdev/oz-agent-action/.github/workflows/suggest-review-fixes.yml@v1
with:
# These inputs are all optional
profile: ''
model: ''
name: ''
mcp: ''
skill: ''
secrets:
WARP_API_KEY: ${{ secrets.WARP_API_KEY }}