Skip to content

Commit

Permalink
Skip eng common workflow enforcer for private repos
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu authored and azure-sdk committed Aug 30, 2021
1 parent af32bac commit 8ef6b6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
steps:
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
- ${{ if and(eq(variables['Build.Reason'], 'PullRequest'), not(endsWith(variables['Build.Repository.Name'], '-pr'))) }}:
- pwsh: |
Set-PsDebug -Trace 1
# Find the default branch of the repo
Expand Down

0 comments on commit 8ef6b6f

Please sign in to comment.