diff --git a/.github/actions/lint-jsonschema/action.yml b/.github/actions/lint-jsonschema/action.yml index fa3ff17e..6766b4cb 100644 --- a/.github/actions/lint-jsonschema/action.yml +++ b/.github/actions/lint-jsonschema/action.yml @@ -83,7 +83,7 @@ runs: rc=1 fi fi - done < <(grep -oE "link:+[^#\[]*" "$(basename "$file")" | sed -E "s/^link:+//g") + done < <(grep -hoE 'link:[^\[]*|image::?[^\[]*|[a-z]*://[^\["[:space:]]*' "$(basename "$file")" | grep -v '^image:' | sed -E "s/^link:+//g") popd > /dev/null done < <(find . -type f -name "*.adoc")