Skip to content

Commit d2649ff

Browse files
chidozieononiwuazure-sdk
authored andcommitted
Skip eng common workflow enforcer for private repos
1 parent 0320ace commit d2649ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ steps:
2121
}
2222
}
2323
displayName: Prevent changes to eng/common outside of azure-sdk-tools repo
24-
condition: and(succeeded(), ne(variables['Skip.EngCommonWorkflowEnforcer'], 'true'))
24+
condition: and(succeeded(), ne(variables['Skip.EngCommonWorkflowEnforcer'], 'true'), not(endsWith(variables['Build.Repository.Name'], '-pr')))

0 commit comments

Comments
 (0)