From 6c625bda4220af98d736b5494f735113954ad2ce Mon Sep 17 00:00:00 2001 From: Hang Lei Date: Fri, 6 Dec 2024 16:00:27 +0800 Subject: [PATCH 1/2] Init --- azure-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 911faa412df..dd662f0711b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -18,6 +18,8 @@ variables: - template: ${{ variables.Pipeline.Workspace }}/.azure-pipelines/templates/variables.yml - name: Codeql.Enabled value: false +- name: ComponentDetection.ForceScan + value: True parameters: - name: architectures From c6ae65d478c54b1c419a5a6036b7233f36b709b4 Mon Sep 17 00:00:00 2001 From: Hang Lei Date: Wed, 11 Dec 2024 15:53:09 +0800 Subject: [PATCH 2/2] Minor fix --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index dd662f0711b..e0df42e5567 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -19,7 +19,7 @@ variables: - name: Codeql.Enabled value: false - name: ComponentDetection.ForceScan - value: True + value: eq(variables['Build.SourceBranch'], 'refs/heads/release') parameters: - name: architectures