You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"::error::Failed to get previous commit for submodule ($sub) between: $base$DIFF$sha"
77
-
exit 1
76
+
echo"::warning::Failed to get previous commit for submodule ($sub) between: $base$sha. Please ensure that submodules are initialized and up to date. See: https://github.com/actions/checkout#usage">&2
echo"::error::Failed to get current commit for submodule ($sub) between: $base$DIFF$sha"
83
-
exit 1
81
+
echo"::warning::Failed to get current commit for submodule ($sub) between: $base$sha. Please ensure that submodules are initialized and up to date. See: https://github.com/actions/checkout#usage">&2
84
82
fi
85
83
86
84
if [ -n"$sub_commit_cur" ];then
87
85
(
88
86
cd"$sub"&& (
89
87
# the strange magic number is a hardcoded "empty tree" commit sha
90
-
get_diff "${sub_commit_pre:-4b825dc642cb6eb9a060e54bf8d69288fbee4904}""${sub_commit_cur}""$filter"| awk -v r="$sub"'{ print "" r "/" $0}'
echo"::warning::Failed to get changed files for submodule ($sub) between: ${sub_commit_pre:-4b825dc642cb6eb9a060e54bf8d69288fbee4904}${sub_commit_cur}. Please ensure that submodules are initialized and up to date. See: https://github.com/actions/checkout#usage">&2
echo"::error::Failed to get previous commit for submodule ($sub) between: $base$DIFF$sha"
112
-
exit 1
111
+
echo"::warning::Failed to get previous commit for submodule ($sub) between: $base$sha. Please ensure that submodules are initialized and up to date. See: https://github.com/actions/checkout#usage">&2
echo"::error::Failed to get current commit for submodule ($sub) between: $base$DIFF$sha"
118
-
exit 1
116
+
echo"::warning::Failed to get current commit for submodule ($sub) between: $base$sha. Please ensure that submodules are initialized and up to date. See: https://github.com/actions/checkout#usage">&2
119
117
fi
120
118
121
119
if [ -n"$sub_commit_cur" ];then
122
120
(
123
121
cd"$sub"&& (
124
122
# the strange magic number is a hardcoded "empty tree" commit sha
125
-
get_renames "${sub_commit_pre:-4b825dc642cb6eb9a060e54bf8d69288fbee4904}""${sub_commit_cur}"| awk -v r="$sub"'{ print "" r "/" $0}'
echo"::warning::Failed to get renamed files for submodule ($sub) between: ${sub_commit_pre:-4b825dc642cb6eb9a060e54bf8d69288fbee4904}${sub_commit_cur}. Please ensure that submodules are initialized and up to date. See: https://github.com/actions/checkout#usage">&2
0 commit comments