diff --git a/.azuredevops/SyncMirroredRepository.yml b/.azuredevops/SyncMirroredRepository.yml index 8500b9ba85..30467a46d7 100644 --- a/.azuredevops/SyncMirroredRepository.yml +++ b/.azuredevops/SyncMirroredRepository.yml @@ -8,6 +8,7 @@ schedules: branches: include: - main + - releases/* pool: name: 'd365bc-agentpool-nonprod-bcapps-sync' @@ -26,6 +27,7 @@ variables: jobs: - job: SyncMirror dependsOn: [] + displayName: Sync mirror with upstream steps: - powershell: | git config --global user.email "BCApps-Sync@microsoft.com" @@ -36,9 +38,19 @@ jobs: inputs: filePath: build\scripts\SyncMirror.ps1 arguments: '-SourceRepository "https://github.com/microsoft/BCApps.git" -TargetRepository $(TargetRepository) -Branch $(Build.SourceBranch) -ManagedIdentityAuth' + +- job: ReportBuildStatus + dependsOn: + - SyncMirror + pool: 'd365bc-agentpool-nonprod-build-official' + condition: failed() + displayName: Report build status + steps: + - checkout: none - template: workitem-build-tracking.yml@PipelineTemplates parameters: - Priority: '2' - Severity: '2' - Issue: 'Infrastructure Defect' - SecurityImpact: 'No' \ No newline at end of file + Priority: '2' + Severity: '2' + Issue: 'Build Break' + SecurityImpact: 'No' + Condition: always() diff --git a/.azuredevops/security-tools.yml b/.azuredevops/security-tools.yml index f4a44ccc03..0a862a5fab 100644 --- a/.azuredevops/security-tools.yml +++ b/.azuredevops/security-tools.yml @@ -9,6 +9,7 @@ schedules: branches: include: - main + - releases/* pool: name: d365bc-agentpool-nonprod-build diff --git a/.github/workflows/CreateBuildTag.yaml b/.github/workflows/CreateBuildTag.yaml index 2c59bcc9e3..de9893c704 100644 --- a/.github/workflows/CreateBuildTag.yaml +++ b/.github/workflows/CreateBuildTag.yaml @@ -4,7 +4,7 @@ on: workflow_run: workflows: [' CI/CD'] types: [completed] - branches: ['main'] + branches: [ 'main', 'releases/*' ] run-name: "[${{ github.ref_name }}] Create build tag" diff --git a/.github/workflows/WorkitemValidation.yaml b/.github/workflows/WorkitemValidation.yaml index 73c89f245f..858f01de5b 100644 --- a/.github/workflows/WorkitemValidation.yaml +++ b/.github/workflows/WorkitemValidation.yaml @@ -2,7 +2,7 @@ name: Work Item Validation on: pull_request_target: types: [opened, synchronize, reopened, edited] - branches: [main] + branches: [ 'main', 'releases/*' ] permissions: contents: read