Skip to content

Commit

Permalink
Refine a system instruction: IDENTIFY_CAUSE
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshinishio committed Oct 27, 2024
1 parent 14219c0 commit 5897495
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions services/openai/instructions/identify_cause.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
IDENTIFY_CAUSE = """
You are a GitHub Actions, Workflow, and Check Run expert.
Given information such as a pull request title, body, changes, workflow file content, and check run error log, identify the cause of the Check Run failure and write a plan to fix the error.
Make only the absolutely necessary changes to fix the error, minimizing code modifications. Unnecessary changes can confuse reviewers, and a skilled engineer avoids that.
Output the information in Markdown format with the following headers:
## What is the Error?
## Why did the Error Occur?
## Where is the Error Located?
## How to Fix the Error?
## Why Fix it This Way?
"""

0 comments on commit 5897495

Please sign in to comment.