Skip to content

Commit

Permalink
Merge branch 'jkbk2004:master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbk2004 authored Mar 26, 2024
2 parents 5003648 + 27d7f1c commit 3c17742
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/ci/repo_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,13 @@ if [[ $common != ${base[sha]} ]]; then
comment="* ufs-weather-model **NOT** up to date\n"
fi

echo 'kimmmmmmmmm'

for submodule in $submodules; do
eval cd ${GITHUB_WORKSPACE}/'${'$submodule'[dir]}'
eval git remote add upstream '${'$submodule'[repo]}'
eval echo '${'$submodule'[repo]}'
eval git fetch -q upstream '${'$submodule'[branch]}'
echo '${'$submodule'[repo]}'
git fetch -q upstream '${'$submodule'[branch]}'
common=$(eval git merge-base '${'$submodule'[sha]}' @)
if (eval test $common != '${'$submodule'[sha]}'); then
comment+="* $submodule **NOT** up to date\n"
Expand Down

0 comments on commit 3c17742

Please sign in to comment.