From 8f65a91eb9f614fb6e55a89662454184f1fa24a8 Mon Sep 17 00:00:00 2001 From: Oza29 Date: Thu, 22 Jan 2026 18:44:55 +0200 Subject: [PATCH 1/6] adding hello world comment --- .github/workflows/pr-verify.yml | 25 +++++++++++++++++++ .../Models/WeatherForecast.cs | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/pr-verify.yml diff --git a/.github/workflows/pr-verify.yml b/.github/workflows/pr-verify.yml new file mode 100644 index 00000000..9e71f3ed --- /dev/null +++ b/.github/workflows/pr-verify.yml @@ -0,0 +1,25 @@ + +name: Build and deploy ASP.Net Core app to an Azure Web App + +on: + pull_request: + branches: [ "main" ] + + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up .NET Core + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0 + + + - name: Build with dotnet + run: dotnet build --configuration Release + + \ No newline at end of file diff --git a/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs b/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs index 786b4a10..be1ad257 100644 --- a/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs +++ b/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs @@ -10,3 +10,5 @@ public record WeatherForecast public string? Summary { get; init; } } + +//hello world \ No newline at end of file From 75a95827250d4d9cc54365d36e133eee92248487 Mon Sep 17 00:00:00 2001 From: Oza29 Date: Thu, 22 Jan 2026 18:46:29 +0200 Subject: [PATCH 2/6] add second hello world --- src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs b/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs index be1ad257..65174992 100644 --- a/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs +++ b/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs @@ -11,4 +11,5 @@ public record WeatherForecast public string? Summary { get; init; } } -//hello world \ No newline at end of file +//hello world +// hello world 2 \ No newline at end of file From 2566f2b9596f5011062aa4fbb2eb45cbbd69f65c Mon Sep 17 00:00:00 2001 From: Oza29 Date: Thu, 22 Jan 2026 19:08:15 +0200 Subject: [PATCH 3/6] add new feature --- src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs b/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs index 65174992..97abf29d 100644 --- a/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs +++ b/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs @@ -12,4 +12,5 @@ public record WeatherForecast } //hello world -// hello world 2 \ No newline at end of file +// hello world 2 +//this is a new feature \ No newline at end of file From 87476aaf4289c69c750cf6de08e5f493c90a256e Mon Sep 17 00:00:00 2001 From: Oza29 Date: Thu, 22 Jan 2026 19:17:30 +0200 Subject: [PATCH 4/6] feature 2 added --- src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs b/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs index 97abf29d..03b205d6 100644 --- a/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs +++ b/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs @@ -13,4 +13,5 @@ public record WeatherForecast //hello world // hello world 2 -//this is a new feature \ No newline at end of file +//this is a new feature +//this is a new feature 2 \ No newline at end of file From d698fec1cd3bf8988abe6fc546c51de375b05076 Mon Sep 17 00:00:00 2001 From: Oza29 Date: Thu, 22 Jan 2026 19:44:40 +0200 Subject: [PATCH 5/6] add error --- src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs b/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs index 03b205d6..55b4da20 100644 --- a/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs +++ b/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs @@ -10,7 +10,7 @@ public record WeatherForecast public string? Summary { get; init; } } - +} //hello world // hello world 2 //this is a new feature From 9cb17897286b41e44075312fffc453705b80c884 Mon Sep 17 00:00:00 2001 From: Oza29 Date: Thu, 22 Jan 2026 20:37:23 +0200 Subject: [PATCH 6/6] fix error --- src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs b/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs index 55b4da20..03b205d6 100644 --- a/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs +++ b/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs @@ -10,7 +10,7 @@ public record WeatherForecast public string? Summary { get; init; } } -} + //hello world // hello world 2 //this is a new feature