From cd474a65abe08c00a491f31bc64c06678ada562e Mon Sep 17 00:00:00 2001 From: Daniil2801 <248danila@gmail.com> Date: Thu, 13 Nov 2025 19:31:18 +0300 Subject: [PATCH 1/3] add pr verify --- .github/workflow/pr-verify.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflow/pr-verify.yml diff --git a/.github/workflow/pr-verify.yml b/.github/workflow/pr-verify.yml new file mode 100644 index 00000000..c8873d8e --- /dev/null +++ b/.github/workflow/pr-verify.yml @@ -0,0 +1,20 @@ +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 From d08125113ed498443e2d631178e6fcf9494407c0 Mon Sep 17 00:00:00 2001 From: Daniil2801 <248danila@gmail.com> Date: Thu, 13 Nov 2025 19:34:57 +0300 Subject: [PATCH 2/3] add new line --- src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs b/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs index 786b4a10..efe721f3 100644 --- a/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs +++ b/src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs @@ -10,3 +10,4 @@ public record WeatherForecast public string? Summary { get; init; } } + From c451ed05e9735e8352988567fa5b787b26efdd72 Mon Sep 17 00:00:00 2001 From: Daniil2801 <248danila@gmail.com> Date: Thu, 13 Nov 2025 19:45:04 +0300 Subject: [PATCH 3/3] folder name --- .github/{workflow => workflows}/pr-verify.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{workflow => workflows}/pr-verify.yml (100%) diff --git a/.github/workflow/pr-verify.yml b/.github/workflows/pr-verify.yml similarity index 100% rename from .github/workflow/pr-verify.yml rename to .github/workflows/pr-verify.yml