diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index d267483..c07c985 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -5,12 +5,19 @@ name: .NET on: push: - pull_request: - branches: [ main ] + branches: + - main paths: - - '**/*.cs' - - '**/*.csproj' - - '**/*.sln' + - '**.cs' + - '**.csproj' + - '**.sln' + pull_request: + branches: + - 'pr/**' + paths: + - '**.cs' + - '**.csproj' + - '**.sln' jobs: build-and-test: