diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e619a7c2f..e0a7210fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,9 +3,17 @@ name: Pull request checks on: push: branches: [ main ] + paths: + - 'Dfe.PrepareConversions.*' + - '!Dfe.PrepareConversions.Dfe.PrepareConversions.CypressTests' + - '*.csproj' pull_request: branches: [ main ] types: [opened, synchronize, reopened] + paths: + - 'Dfe.PrepareConversions.*' + - '!Dfe.PrepareConversions.Dfe.PrepareConversions.CypressTests' + - '*.csproj' env: JAVA_VERSION: '17'