From 6700c0f41fd786da41ada8731450f6528ac719e0 Mon Sep 17 00:00:00 2001 From: stalejohnsen <98233333+stalejohnsen@users.noreply.github.com> Date: Fri, 4 Aug 2023 12:54:46 +0200 Subject: [PATCH] add paths to push trigger --- accelerator/.github/workflows/alz-bicep-1-core.yml | 7 +++++++ .../.github/workflows/alz-bicep-2-policyassignments.yml | 2 ++ accelerator/.github/workflows/alz-bicep-3-subplacement.yml | 2 ++ accelerator/.github/workflows/alz-bicep-4a-hubspoke.yml | 3 +++ accelerator/.github/workflows/alz-bicep-4b-vwan.yml | 3 +++ 5 files changed, 17 insertions(+) diff --git a/accelerator/.github/workflows/alz-bicep-1-core.yml b/accelerator/.github/workflows/alz-bicep-1-core.yml index c890378bc..e2db06610 100644 --- a/accelerator/.github/workflows/alz-bicep-1-core.yml +++ b/accelerator/.github/workflows/alz-bicep-1-core.yml @@ -4,6 +4,13 @@ on: push: branches: - "main" + paths: + - "config/custom-parameters/managementGroups.parameters.all.json" + - "config/custom-parameters/resourceGroupLoggingAndSentinel.parameters.all.json" + - "config/custom-parameters/logging.parameters.all.json" + - "config/custom-parameters/customPolicyDefinitions.parameters.all.json" + - "config/custom-parameters/customRoleDefinitions.parameters.all.json" + - "config/custom-parameters/mgDiagSettingsAll.parameters.all.json" pull_request: branches: - "main" diff --git a/accelerator/.github/workflows/alz-bicep-2-policyassignments.yml b/accelerator/.github/workflows/alz-bicep-2-policyassignments.yml index 3ab95dbed..9048ebb69 100644 --- a/accelerator/.github/workflows/alz-bicep-2-policyassignments.yml +++ b/accelerator/.github/workflows/alz-bicep-2-policyassignments.yml @@ -4,6 +4,8 @@ on: push: branches: - "main" + paths: + - "config/custom-parameters/alzDefaultPolicyAssignments.parameters.all.json" pull_request: branches: - "main" diff --git a/accelerator/.github/workflows/alz-bicep-3-subplacement.yml b/accelerator/.github/workflows/alz-bicep-3-subplacement.yml index 496d74a14..25d4a7384 100644 --- a/accelerator/.github/workflows/alz-bicep-3-subplacement.yml +++ b/accelerator/.github/workflows/alz-bicep-3-subplacement.yml @@ -4,6 +4,8 @@ on: push: branches: - "main" + paths: + - "config/custom-parameters/subPlacementAll.parameters.all.json" pull_request: branches: - "main" diff --git a/accelerator/.github/workflows/alz-bicep-4a-hubspoke.yml b/accelerator/.github/workflows/alz-bicep-4a-hubspoke.yml index b97ef4a54..497ce6094 100644 --- a/accelerator/.github/workflows/alz-bicep-4a-hubspoke.yml +++ b/accelerator/.github/workflows/alz-bicep-4a-hubspoke.yml @@ -4,6 +4,9 @@ on: push: branches: - "main" + paths: + - "config/custom-parameters/resourceGroupConnectivity.parameters.all.json" + - "config/custom-parameters/hubNetworking.parameters.all.json" pull_request: branches: - "main" diff --git a/accelerator/.github/workflows/alz-bicep-4b-vwan.yml b/accelerator/.github/workflows/alz-bicep-4b-vwan.yml index 85c2da2cf..bb3b4f6e5 100644 --- a/accelerator/.github/workflows/alz-bicep-4b-vwan.yml +++ b/accelerator/.github/workflows/alz-bicep-4b-vwan.yml @@ -4,6 +4,9 @@ on: push: branches: - "main" + paths: + - "config/custom-parameters/resourceGroupConnectivity.parameters.all.json" + - "config/custom-parameters/vwanConnectivity.parameters.all.json" pull_request: branches: - "main"