From f697a553fa55a154276463dfab62068dd013e357 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 19 Aug 2020 11:15:32 -0700 Subject: [PATCH] Sync eng/common directory with azure-sdk-tools repository for Tools PR https://github.com/Azure/azure-sdk-tools/pull/899 (#303) --- eng/common/README.md | 2 +- eng/common/scripts/Submit-PullRequest.ps1 | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/eng/common/README.md b/eng/common/README.md index 0c413a8ea5..227a572db2 100644 --- a/eng/common/README.md +++ b/eng/common/README.md @@ -13,7 +13,7 @@ languages repos as they will be overwritten the next time an update is taken fro ### Workflow -Starting from [these changes](https://github.com/Azure/azure-sdk-tools/commit/401dbcaa17075ceb94073b6a4d7acafce8687a5d) the 'Sync eng/common directory' PRs will be created in the language repositories once a pull request that touches the eng/common directory is submitted against the master branch. This will make it easier for changes to be tested in each individual language repo before merging the changes in the azure-sdk-tools repo. The workflow is explained bellow +The 'Sync eng/common directory' PRs will be created in the language repositories once a pull request that touches the eng/common directory is submitted against the master branch. This will make it easier for changes to be tested in each individual language repo before merging the changes in the azure-sdk-tools repo. The workflow is explained below: 1. Create a PR against Azure/azure-sdk-tools:master. This is the **Tools PR**. 2. `azure-sdk-tools - sync - eng-common` is run automatically. It creates **Sync PRs** in each of the connected language repositories using the format `Sync eng/common directory with azure-sdk-tools for PR {Tools PR Number}`. Each **Sync PR** will contain a link back to the **Tools PR** that triggered it. diff --git a/eng/common/scripts/Submit-PullRequest.ps1 b/eng/common/scripts/Submit-PullRequest.ps1 index 732d0d4b2b..f80033dfa3 100644 --- a/eng/common/scripts/Submit-PullRequest.ps1 +++ b/eng/common/scripts/Submit-PullRequest.ps1 @@ -39,8 +39,7 @@ param( [Parameter(Mandatory = $true)] $PRTitle, - [Parameter(Mandatory = $true)] - $PRBody + $PRBody=$PRTitle ) $headers = @{