message: Fix the error that could not trigger SDK Automation if base branch is not master
diff: @@ -2,7 +2,7 @@ trigger:
  batch: false
  branches:
  include:
  - - master
  + - "*"
  jobs:
  - job: "SDKAutomation"
  @@ -41,7 +41,7 @@ jobs:
  curl \
  -s https://api.github.com/repos/$(Build.Repository.Name)/commits/$(Build.SourceVersion)/pulls \
  -H "Accept: application/vnd.github.groot-preview+json" \
  - | python3 -c "import sys,json; a=json.load(sys.stdin); print(f'##vso[task.setvariable variable=PR_NUMBER]{a[0][\"number\"]}' if len(a)>0 else '##vso[task.logissue type=error]Last commit $(Build.SourceVersion) doesnot have a related PR')"
  + | python3 -c "import sys,json; a=json.load(sys.stdin); print(f'##vso[task.setvariable variable=PR_NUMBER]{a[0][\"number\"]}' if len(a)>0 and a[0][\"base\"][\"ref\"]=='master' else '##vso[task.logissue type=error]Last commit $(Build.SourceVersion) doesnot have a related PR')"
  displayName: Get PR_NUMBER
  condition: in(variables['Build.Reason'], 'IndividualCI', 'Manual')
  - script: sudo chown `id -ng`:`id -ng` . && npm start
  