add in comments
@@ -364,8 +364,11 @@ jobs:
git config --local user.email "propagate-bot@pymedphys.com"
git config --local user.name "PyMedPhys Propagate Bot"
+ # When on the main branch REPO is not set
if [ ! -z "${REPO}" ]
then
+ # Designed to handle the case where a fork has been created
+ # Still might need more refinement/testing.
git remote set-url origin "https://github.com/${REPO}.git"
fi
