From 710922af4caa8ee219c97f39a62f5e1b2d167869 Mon Sep 17 00:00:00 2001 From: Yevheniy Solovey <81159031+yevheniy-solovey-ms@users.noreply.github.com> Date: Thu, 25 Jul 2024 16:32:58 +0200 Subject: [PATCH 1/2] Add a note about triggers on non-default branch to resources.md --- docs/pipelines/process/resources.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/pipelines/process/resources.md b/docs/pipelines/process/resources.md index f2234f0f7e0..5ebcd65f85e 100644 --- a/docs/pipelines/process/resources.md +++ b/docs/pipelines/process/resources.md @@ -459,6 +459,9 @@ resources: > [!NOTE] > Service connections that use [Workload identity federation](/azure/devops/pipelines/library/connect-to-azure#create-an-azure-resource-manager-service-connection-using-workload-identity-federation) aren't supported in `azureSubscription`. +> [!NOTE] +> Trigger evaluation only occurs on the default branch. Make sure to set the correct default branch or merge the YAML file into the current default branch. For more information on how to change the pipeline default branch, visit [The pipeline default branch](/azure/devops/pipelines/process/pipeline-default-branch?view=azure-devops). + ### Container resource variables Once you define a container as a resource, container image metadata passes to the pipeline as variables. Information like image, registry, and connection details are accessible across all the jobs used in your container deployment tasks. From c17bc0757bcdb4259aaecf8879315bb20ac03c0e Mon Sep 17 00:00:00 2001 From: Yevheniy Solovey <81159031+yevheniy-solovey-ms@users.noreply.github.com> Date: Thu, 25 Jul 2024 16:43:22 +0200 Subject: [PATCH 2/2] Remove view parameter from URL as suggested by validation build --- docs/pipelines/process/resources.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pipelines/process/resources.md b/docs/pipelines/process/resources.md index 5ebcd65f85e..c353f8a255f 100644 --- a/docs/pipelines/process/resources.md +++ b/docs/pipelines/process/resources.md @@ -460,7 +460,7 @@ resources: > Service connections that use [Workload identity federation](/azure/devops/pipelines/library/connect-to-azure#create-an-azure-resource-manager-service-connection-using-workload-identity-federation) aren't supported in `azureSubscription`. > [!NOTE] -> Trigger evaluation only occurs on the default branch. Make sure to set the correct default branch or merge the YAML file into the current default branch. For more information on how to change the pipeline default branch, visit [The pipeline default branch](/azure/devops/pipelines/process/pipeline-default-branch?view=azure-devops). +> Trigger evaluation only occurs on the default branch. Make sure to set the correct default branch or merge the YAML file into the current default branch. For more information on how to change the pipeline default branch, visit [The pipeline default branch](/azure/devops/pipelines/process/pipeline-default-branch). ### Container resource variables