<commit_before># Configure which branches trigger builds
trigger:
  batch: true
  branches:
    include:
    - internal/release/6.0
    
parameters:
# Run the pipeline manually (usually disallowed)
- name: manualRun
  default: false
  displayName: Are you sure you want to run this pipeline manually?
  type: boolean

variables:
  - group: Mirror-Credentials

# Merges code from one AzDO branch into another
jobs:
- ${{ if and(contains(variables['Build.SourceBranch'], 'internal'), or(eq(variables['Build.Reason'], 'BatchedCI'), eq(parameters.manualRun, 'true'))) }}:
  - template: /eng/common/templates/jobs/jobs.yml
    parameters:
      enableTelemetry: true
      helixRepo: dotnet/aspnetcore
      jobs:
      - job: Merge_Azure_DevOps_Branches
        enableSBOM: false
        pool:
          name: NetCore1ESPool-Internal
          demands: ImageOverride -equals Build.Server.Amd64.VS2019
        variables:
        - name: WorkingDirectoryName
          value: repo-dir
        - name: AzdoRepo
          value: dotnet-aspnetcore
        - name: TargetBranchName
          value: $(Build.SourceBranch)-nonstable
        - name: BranchToMirror
          value: $(Build.SourceBranch)
        steps:
        - script: |
            git clone https://dn-bot:$(dn-bot-dnceng-build-rw-code-rw)@dev.azure.com/dnceng/internal/_git/$(AzdoRepo) $(WorkingDirectoryName) --recursive --no-tags --branch $(TargetBranchName)
          displayName: Clone AzDO repo
        - script: |<commit_msg>Fix branch name in mirror pipeline (#42121)<commit_after># Configure which branches trigger builds
trigger:
  batch: true
  branches:
    include:
    - internal/release/6.0
    
parameters:
# Run the pipeline manually (usually disallowed)
- name: manualRun
  default: false
  displayName: Are you sure you want to run this pipeline manually?
  type: boolean

variables:
  - group: Mirror-Credentials

# Merges code from one AzDO branch into another
jobs:
- ${{ if and(contains(variables['Build.SourceBranch'], 'internal'), or(eq(variables['Build.Reason'], 'BatchedCI'), eq(parameters.manualRun, 'true'))) }}:
  - template: /eng/common/templates/jobs/jobs.yml
    parameters:
      enableTelemetry: true
      helixRepo: dotnet/aspnetcore
      jobs:
      - job: Merge_Azure_DevOps_Branches
        enableSBOM: false
        pool:
          name: NetCore1ESPool-Internal
          demands: ImageOverride -equals Build.Server.Amd64.VS2019
        variables:
        - name: WorkingDirectoryName
          value: repo-dir
        - name: AzdoRepo
          value: dotnet-aspnetcore
        - name: TargetBranchName
          value: $(Build.SourceBranchName)-nonstable
        - name: BranchToMirror
          value: $(Build.SourceBranchName)
        steps:
        - script: |
            git clone https://dn-bot:$(dn-bot-dnceng-build-rw-code-rw)@dev.azure.com/dnceng/internal/_git/$(AzdoRepo) $(WorkingDirectoryName) --recursive --no-tags --branch $(TargetBranchName)
          displayName: Clone AzDO repo
        - script: |
{'fraction_non_alphanumeric': 0.10709549071618037, 'fraction_numerical': 0.007625994694960212, 'mean_word_length': 2.738537794299876, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6716338', 'n_tokens_mistral': 904, 'n_tokens_neox': 892, 'n_words': 218}