Skip to content

Commit

Permalink
Sync eng/common directory with azure-sdk-tools for PR 3433 (Azure#18402)
Browse files Browse the repository at this point in the history
* add condition

* divide line

Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>
  • Loading branch information
azure-sdk and maririos authored Jun 13, 2022
1 parent 6d1dc1f commit e917375
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion eng/common/pipelines/templates/steps/create-apireview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,11 @@ steps:
pwsh: true
workingDirectory: $(Pipeline.Workspace)
displayName: Create API Review for ${{ artifact.name}}
condition: and(succeededOrFailed(), ne(variables['Skip.CreateApiReview'], 'true') , ne(variables['Build.Reason'],'PullRequest'), eq(variables['System.TeamProject'], 'internal'))
condition: >-
and(
succeededOrFailed(),
ne(variables['Skip.CreateApiReview'], 'true'),
ne(variables['Build.Reason'],'PullRequest'),
eq(variables['System.TeamProject'], 'internal'),
not(endsWith(variables['Build.Repository.Name'], '-pr'))
)

0 comments on commit e917375

Please sign in to comment.