From e823b26f4600a698eb1c06f48da9b780fb2331a7 Mon Sep 17 00:00:00 2001 From: praveenkuttappan <55455725+praveenkuttappan@users.noreply.github.com> Date: Thu, 17 Jun 2021 22:55:00 -0400 Subject: [PATCH] Rush recheck (#15616) * automate rush update recheck --- eng/pipelines/aggregate-reports.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/eng/pipelines/aggregate-reports.yml b/eng/pipelines/aggregate-reports.yml index 04df984b1566..e20d314b0f8f 100644 --- a/eng/pipelines/aggregate-reports.yml +++ b/eng/pipelines/aggregate-reports.yml @@ -75,3 +75,31 @@ jobs: - task: securedevelopmentteam.vss-secure-development-tools.build-task-publishsecurityanalysislogs.PublishSecurityAnalysisLogs@3 displayName: 'Publish Security Analysis Logs' condition: succeededOrFailed() + +- job: 'RushUpdate' + variables: + - template: /eng/pipelines/templates/variables/globals.yml + + pool: + name: azsdk-pool-mms-ubuntu-1804-general + vmImage: MMSUbuntu18.04 + + steps: + - template: /eng/pipelines/templates/steps/common.yml + + - template: /eng/common/pipelines/templates/steps/set-default-branch.yml + + - script: | + node common/scripts/install-run-rush.js install + node common/scripts/install-run-rush.js update --recheck + displayName: "Run Rush Update" + + - template: /eng/common/pipelines/templates/steps/create-pull-request.yml + parameters: + RepoName: azure-sdk-for-js + BaseBranchName: $(DefaultBranch) + PRBranchName: automated-rush-update + CommitMsg: "Automatic rush update recheck" + PRTitle: "Automatic rush update" + PRBody: "Automatic rush update PR" + PushArgs: "-f"