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} 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);