Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48015e5 commit 1ff0fdaCopy full SHA for 1ff0fda
1 file changed
.github/workflows/check-qldoc.yml
@@ -37,6 +37,9 @@ jobs:
37
done
38
git checkout HEAD^
39
for pack_dir in ${changed_lib_packs}; do
40
+ # When we add a new language, pack_dir would not exist in HEAD^.
41
+ # In this case the right thing to do is to skip the check.
42
+ [[ ! -d "${pack_dir}" ]] && continue
43
lang="${pack_dir%/ql/lib}"
44
gh codeql generate library-doc-coverage --output="${RUNNER_TEMP}/${lang}-baseline.txt" --dir="${pack_dir}"
45
awk -F, '{gsub(/"/,""); if ($4==0 && $6=="public") print "\""$3"\"" }' "${RUNNER_TEMP}/${lang}-current.txt" | sort -u > "${RUNNER_TEMP}/current-undocumented.txt"
0 commit comments