Skip to content

Backport of AzCNI installer images for k8s 1.27 #4677

Backport of AzCNI installer images for k8s 1.27

Backport of AzCNI installer images for k8s 1.27 #4677

name: validate-pull-request-source
on: pull_request
jobs:
validate-pull-request-source:
runs-on: ubuntu-latest
steps:
- name: Validate if PR is not from a forked repo
run: |
if [ "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.repository }}" ]; then
echo "Please create the PR from a branch in this repository, not from a forked repository."
exit 1
else
echo "PR is from a branch in this repository."
fi