diff --git a/.azure-pipelines/common-templates/checkout.yml b/.azure-pipelines/common-templates/checkout.yml index f57962ed905..1a01cf824bf 100644 --- a/.azure-pipelines/common-templates/checkout.yml +++ b/.azure-pipelines/common-templates/checkout.yml @@ -32,15 +32,7 @@ steps: git pull git status - - task: Bash@3 - displayName: "Update Git Submodules" - inputs: - targetType: inline - script: | - git pull --recurse-submodules - git submodule update --init --recursive --remote - - task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@2 displayName: "Run CredScan" inputs: - debugMode: false + debugMode: false \ No newline at end of file diff --git a/.azure-pipelines/integrated-pipeline.yml b/.azure-pipelines/integrated-pipeline.yml index efe0141751c..4dbd6bbf022 100644 --- a/.azure-pipelines/integrated-pipeline.yml +++ b/.azure-pipelines/integrated-pipeline.yml @@ -42,6 +42,13 @@ trigger: - releases/* - bugfixes/* - features/* + exclude: + - DocsGeneration/* + +pr: + branches: + exclude: + - DocsGeneration/* stages: - stage: ComputeVersion diff --git a/.github/workflows/create-helpdocs-pr-workflow.yml b/.github/workflows/create-helpdocs-pr-workflow.yml index 2d9d39c4fa6..0e322a634d4 100644 --- a/.github/workflows/create-helpdocs-pr-workflow.yml +++ b/.github/workflows/create-helpdocs-pr-workflow.yml @@ -13,7 +13,7 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: createHelpsDocsPR: - if: github.event_name == 'push' + if: github.event_name == 'push' && contains(toJson(github.event.commits), '[run ci]') && !contains(toJson(github.event.commits), 'NO_CI') && !contains(toJson(github.event.commits), '[ci skip]') && !contains(toJson(github.event.commits), '[skip ci]') # The type of runner that the job will run on runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job diff --git a/tools/GenerateHelp.ps1 b/tools/GenerateHelp.ps1 index e22f283a35d..a4bc3ae9834 100644 --- a/tools/GenerateHelp.ps1 +++ b/tools/GenerateHelp.ps1 @@ -58,7 +58,7 @@ $ModulesToGenerate | ForEach-Object { Write-Warning "v1.0 Docs for $ModuleName not Found" } git status - git commit -m "Docs Generation for $ModuleName [skip ci]" + git commit -m "Docs Generation for $ModuleName [run ci]" } Write-Host -ForegroundColor Green "-------------Done-------------" \ No newline at end of file