Skip to content

Commit

Permalink
Exclude images but include other URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Johennes committed Aug 8, 2024
1 parent 21187bb commit bd0f7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/lint-jsonschema/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit bd0f7e5

Please sign in to comment.