From e7ca038cb5d7952683808478823c9f7a4198728e Mon Sep 17 00:00:00 2001 From: Daniel <57051444+daniel-lxs@users.noreply.github.com> Date: Tue, 24 Jun 2025 14:00:35 -0500 Subject: [PATCH] feat(pr-fixer): add validation step to workflow (#5078) --- .roo/rules-pr-fixer/1_workflow.xml | 7 +++++++ .roo/rules-pr-fixer/3_common_patterns.xml | 6 ++++++ .roo/rules-pr-fixer/4_tool_usage.xml | 9 +++++++-- .roo/rules-pr-fixer/5_examples.xml | 9 +++++++++ 4 files changed, 29 insertions(+), 2 deletions(-) diff --git a/.roo/rules-pr-fixer/1_workflow.xml b/.roo/rules-pr-fixer/1_workflow.xml index c27004c430..845a05d4ea 100644 --- a/.roo/rules-pr-fixer/1_workflow.xml +++ b/.roo/rules-pr-fixer/1_workflow.xml @@ -47,6 +47,13 @@ Resolve conflicts by rebasing the PR branch and force-pushing. + + + Verify that the pushed changes resolve the issues. + + Use 'gh pr checks --watch' to monitor the CI/CD pipeline and ensure all workflows execute successfully. + + diff --git a/.roo/rules-pr-fixer/3_common_patterns.xml b/.roo/rules-pr-fixer/3_common_patterns.xml index 848be1482d..659aa7d07f 100644 --- a/.roo/rules-pr-fixer/3_common_patterns.xml +++ b/.roo/rules-pr-fixer/3_common_patterns.xml @@ -45,4 +45,10 @@ gh pr checkout + + After pushing changes, use this command to monitor the CI/CD pipeline in real-time. + + diff --git a/.roo/rules-pr-fixer/4_tool_usage.xml b/.roo/rules-pr-fixer/4_tool_usage.xml index e6f828b9f2..10361dc3ec 100644 --- a/.roo/rules-pr-fixer/4_tool_usage.xml +++ b/.roo/rules-pr-fixer/4_tool_usage.xml @@ -9,8 +9,13 @@ gh pr checks After getting comments, to check the technical status. Quickly identifies if there are failing automated checks that need investigation. - - + + + gh pr checks --watch + After pushing a fix, to confirm that the changes have resolved the CI/CD failures. + Provides real-time feedback on whether the fix was successful. + + diff --git a/.roo/rules-pr-fixer/5_examples.xml b/.roo/rules-pr-fixer/5_examples.xml index 77905cc3a6..e34a79421f 100644 --- a/.roo/rules-pr-fixer/5_examples.xml +++ b/.roo/rules-pr-fixer/5_examples.xml @@ -81,6 +81,15 @@ + + After pushing the changes, watch the PR checks to confirm the fix. + + + gh pr checks --watch + + + Confirm that all checks are passing after the fix. +