From 66238929dd8c6cce4890948840bc242881ad2fc4 Mon Sep 17 00:00:00 2001 From: "Jeffrey T. Fritz" Date: Tue, 22 Aug 2023 12:32:40 -0400 Subject: [PATCH 1/2] Limiting push on main to src folder only --- .github/workflows/dotnet.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 75cbd9d6..03b71485 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -6,6 +6,7 @@ name: Build and Test .NET projects on: push: branches: [ "main" ] + paths: [ "src" ] pull_request: branches: [ "main" ] types: [opened, synchronize, reopened, closed] From 3e76ba30b50d894325e63a6199d446ae0aab74bd Mon Sep 17 00:00:00 2001 From: "Jeffrey T. Fritz" Date: Tue, 22 Aug 2023 12:36:20 -0400 Subject: [PATCH 2/2] Added src path limitation to PR build --- .github/workflows/dotnet.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 03b71485..55b05abd 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -10,6 +10,7 @@ on: pull_request: branches: [ "main" ] types: [opened, synchronize, reopened, closed] + paths: [ "src" ] workflow_dispatch: branches: [ "main" ]