-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathfix-failing-checks.yml
More file actions
44 lines (43 loc) · 1.53 KB
/
Copy pathfix-failing-checks.yml
File metadata and controls
44 lines (43 loc) · 1.53 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
39
40
41
42
43
44
# Template workflow generated from examples/fix-failing-checks.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: Fix Failing Checks
# ======================================================================================
# Usage:
# - Triggers automatically when a specified workflow (e.g., "Continuous Integration") fails.
# - Analyzes failure logs to determine the cause.
#
# Setup:
# - Ensure WARP_API_KEY is set in Repository Secrets.
# - Update the `workflow_run.workflows` list to match your CI workflow names.
#
# Expected Output:
# - A new Pull Request containing the fix for the build or test failure.
# - Comments on the original PR (if applicable) with a link to the fix.
#
# When to use:
# - Use this to reduce downtime caused by broken builds or flaky tests.
# ======================================================================================
name: Fix Failing Checks
on:
workflow_run:
workflows: []
types:
- completed
jobs:
fix_failure:
uses: warpdotdev/oz-agent-action/.github/workflows/fix-failing-checks.yml@v1
with:
# These inputs are all optional
profile: ''
model: ''
name: ''
mcp: ''
skill: ''
cloud: false
host: ''
environment: ''
secrets:
WARP_API_KEY: ${{ secrets.WARP_API_KEY }}