Skip to content

Commit

Permalink
Added check for forked branches (#20720)
Browse files Browse the repository at this point in the history
Co-authored-by: Evgenii Dergachev <[email protected]>
  • Loading branch information
DmitriiBobreshev and DergachevE authored Dec 19, 2024
1 parent 7ae5e4e commit 0824d25
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci/build-all-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ steps:
- script: npm install
displayName: npm install

- script: |
echo "##[error]PRs from fork repositories forbidden. Create PR directly."
exit 1
displayName: Check Is Forked PR
condition: eq(variables['SYSTEM.PULLREQUEST.ISFORK'], 'true')

# Verify min agent demands
- script: |
cd ci/verifyMinAgentDemands
Expand Down

0 comments on commit 0824d25

Please sign in to comment.