Skip to content

Commit e595715

Browse files
Skip eng common workflow enforcer for private repos (#20462)
Co-authored-by: Chidozie Ononiwu <[email protected]>
1 parent 38a1385 commit e595715

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)