From b6e197aee4b29e79906a02758b921ca2529c076a Mon Sep 17 00:00:00 2001 From: LiteObject Date: Fri, 4 Apr 2025 14:27:18 -0500 Subject: [PATCH 1/2] Fix message formatting in InfoController's Get method --- 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 1dbabaa..27d6da1 100644 --- a/src/MyWebApi/MyWebApi/Controllers/WeatherForecastController.cs +++ b/src/MyWebApi/MyWebApi/Controllers/WeatherForecastController.cs @@ -17,7 +17,7 @@ public InfoController(ILogger logger) public IActionResult Get() { // Log a message at the Information level - var message = "Hello World from InfoController..."; + var message = "Hello World from InfoController. This is a sample message."; _logger.LogInformation(message); return Ok(message); } From 7774de0c94b417b077e4fc28f97a61e0503f160c Mon Sep 17 00:00:00 2001 From: LiteObject Date: Fri, 4 Apr 2025 14:28:51 -0500 Subject: [PATCH 2/2] Update upload-artifact action to version 4 in code review workflow --- .github/workflows/code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code-review.yml b/.github/workflows/code-review.yml index 2fcc19c..bacbb72 100644 --- a/.github/workflows/code-review.yml +++ b/.github/workflows/code-review.yml @@ -36,7 +36,7 @@ jobs: # Step 4: Upload the diff file as an artifact (optional) - name: Upload Diff as Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pr-diff path: changes.diff