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"