Skip to content

Commit 0824d25

Browse files
Added check for forked branches (#20720)
Co-authored-by: Evgenii Dergachev <[email protected]>
1 parent 7ae5e4e commit 0824d25

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: ci/build-all-steps.yml

+6
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ steps:
2929
- script: npm install
3030
displayName: npm install
3131

32+
- script: |
33+
echo "##[error]PRs from fork repositories forbidden. Create PR directly."
34+
exit 1
35+
displayName: Check Is Forked PR
36+
condition: eq(variables['SYSTEM.PULLREQUEST.ISFORK'], 'true')
37+
3238
# Verify min agent demands
3339
- script: |
3440
cd ci/verifyMinAgentDemands

0 commit comments

Comments
 (0)