From f0ee09bd32d9d85cd7bfc9c0f883c513498233ac Mon Sep 17 00:00:00 2001 From: Ash Davies <3853061+DrizzlyOwl@users.noreply.github.com> Date: Tue, 15 Oct 2024 10:47:16 +0100 Subject: [PATCH] Be more specific with paths (#629) --- .github/workflows/continuous-integration-dotnet.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-integration-dotnet.yml b/.github/workflows/continuous-integration-dotnet.yml index 349563ad6..1105b0b2b 100644 --- a/.github/workflows/continuous-integration-dotnet.yml +++ b/.github/workflows/continuous-integration-dotnet.yml @@ -6,16 +6,20 @@ on: - main paths: - 'Dfe.Academies.*/**' - - 'TramsDataApi*/**' - - 'PersonsApi*/**' + - 'TramsDataApi/**' + - 'TramsDataApi.*/**' + - 'PersonsApi/**' + - 'PersonsApi.*/**' - '!Dfe.Academies.Performance/**' pull_request: branches: [ main ] types: [ opened, synchronize, reopened ] paths: - 'Dfe.Academies.*/**' - - 'TramsDataApi*/**' - - 'PersonsApi*/**' + - 'TramsDataApi/**' + - 'TramsDataApi.*/**' + - 'PersonsApi/**' + - 'PersonsApi.*/**' - '!Dfe.Academies.Performance/**' env: