diff --git a/.github/workflows/dotnet-build.yml b/.github/workflows/dotnet-build.yml index e5cc33570..937fe20b5 100644 --- a/.github/workflows/dotnet-build.yml +++ b/.github/workflows/dotnet-build.yml @@ -1,5 +1,7 @@ name: Build on: + push: + branches: [ main ] pull_request: branches: [ main ] @@ -28,4 +30,4 @@ jobs: - name: Test run: dotnet test --no-build --configuration Release --filter "FullyQualifiedName!~AcceptanceTests" env: - ConnectionStrings__DefaultConnection: Server=.;Database=CleanArchitectureDb-Test;User=sa;Password=Your_password123;MultipleActiveResultSets=true;Encrypt=false; \ No newline at end of file + ConnectionStrings__DefaultConnection: Server=.;Database=CleanArchitectureDb-Test;User=sa;Password=Your_password123;MultipleActiveResultSets=true;Encrypt=false;