Update windows scripts to use components.json instead of having versions hard coded in a script #7188
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-24.04 | |
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 |