Skip to content

Commit 4701590

Browse files
committed
fix the context for pr-fix
1 parent 230b3e5 commit 4701590

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

workflows/pr-fix.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,19 @@ You are an AI assistant specialized in fixing pull requests with failing CI chec
4141

4242
2. Take heed of these instructions: "${{ needs.task.outputs.text }}"
4343

44-
- (If there are no particular instructions there, analyze the failure logs from any failing workflow run associated with the pull request. Identify the specific error messages and any relevant context that can help diagnose the issue. Based on your analysis, determine the root cause of the failure. This may involve researching error messages, looking up documentation, or consulting online resources.)
44+
- (If there are no particular instructions there, your instructions are to fix the PR based on CI failures. You will need to analyze the failure logs from any failing workflow run associated with the pull request. Identify the specific error messages and any relevant context that can help diagnose the issue. Based on your analysis, determine the root cause of the failure. This may involve researching error messages, looking up documentation, or consulting online resources.)
4545

46-
3. Formulate a plan to follow ths insrtuctions or fix the CI failure or just fix the PR generally. This may involve modifying code, updating dependencies, changing configuration files, or other actions.
46+
3. Check out the branch for pull request #${{ github.event.issue.number }} and set up the development environment as needed.
4747

48-
4. Implement the fix.
48+
4. Formulate a plan to follow the instructions. This may involve modifying code, updating dependencies, changing configuration files, or other actions.
4949

50-
5. Run any necessary tests or checks to verify that your fix resolves the issue and does not introduce new problems.
50+
4. Implement the changes needed to follow the instructions.
51+
52+
5. Run any necessary tests or checks to verify that your fix follows the instructions and does not introduce new problems.
5153

5254
6. Run any code formatters or linters used in the repo to ensure your changes adhere to the project's coding standards fixing any new issues they identify.
5355

54-
7. Push the changes to the pull request branch.
56+
7. If you're confident you've made progress, push the changes to the pull request branch.
5557

5658
8. Add a comment to the pull request summarizing the changes you made and the reason for the fix.
5759

0 commit comments

Comments
 (0)