chore: rename nbcontract to AKSNodeConfig #5472
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |