From 7fb162e6110aca090cf0e4bb274da84fff331719 Mon Sep 17 00:00:00 2001 From: LiteObject Date: Thu, 22 May 2025 21:12:09 -0500 Subject: [PATCH 1/2] Update greeting message in InfoController's Get method for consistency --- src/MyWebApi/MyWebApi/Controllers/WeatherForecastController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MyWebApi/MyWebApi/Controllers/WeatherForecastController.cs b/src/MyWebApi/MyWebApi/Controllers/WeatherForecastController.cs index efe6e44..946f089 100644 --- a/src/MyWebApi/MyWebApi/Controllers/WeatherForecastController.cs +++ b/src/MyWebApi/MyWebApi/Controllers/WeatherForecastController.cs @@ -16,7 +16,7 @@ public InfoController(ILogger logger) [HttpGet(Name = "Get")] public IActionResult Get() { - var helloworld = "Hello World!!!"; + var helloworld = "Hello World"; // Log a message at the Information level var message = "Hello World from InfoController. This is a sample message."; _logger.LogInformation(message); From 4fe8d4efe7e5cb4617e4aa43a0584a935bea54c5 Mon Sep 17 00:00:00 2001 From: LiteObject Date: Thu, 22 May 2025 21:21:55 -0500 Subject: [PATCH 2/2] Add echo statement for prompt in Code Review step for debugging --- .github/workflows/code-review.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/code-review.yml b/.github/workflows/code-review.yml index b49cd81..b99ffe4 100644 --- a/.github/workflows/code-review.yml +++ b/.github/workflows/code-review.yml @@ -55,6 +55,8 @@ jobs: run: | DIFF=$(cat sanitized_diff.txt) PROMPT=$(echo "Please review the following code changes, summarize the changes, and provide feedback:\n\n$DIFF\n\nFeedback:" | jq -sR .) + echo "PROMPT:\n$PROMPT" + # Set the prompt as an environment variable for later steps echo "prompt=$PROMPT" >> $GITHUB_ENV shell: /usr/bin/bash -e {0}