From 0533722474ee94f1f4c7a54cfeb7316e999015ee Mon Sep 17 00:00:00 2001 From: Tim Beiko <9390255+timbeiko@users.noreply.github.com> Date: Thu, 8 Feb 2024 12:22:04 -0800 Subject: [PATCH] Config: match `tree` along with `blob` for Github repos. (#8171) Match tree along with blobs Signed-off-by: Tim Beiko <9390255+timbeiko@users.noreply.github.com> --- config/eipw.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/eipw.toml b/config/eipw.toml index 7a3c0a0dcfa6f4..27fd0344334a95 100644 --- a/config/eipw.toml +++ b/config/eipw.toml @@ -144,13 +144,13 @@ then = "withdrawal-reason" [lints.markdown-rel-links] kind = "markdown-relative-links" exceptions = [ - '^https://(www\.)?github\.com/ethereum/consensus-specs/blob/[a-f0-9]{40}/.+$', + '^https://(www\.)?github\.com/ethereum/consensus-specs/(blob|tree)/[a-f0-9]{40}/.+$', '^https://(www\.)?github\.com/ethereum/consensus-specs/commit/[a-f0-9]{40}$', - '^https://(www\.)?github\.com/ethereum/execution-specs/blob/[a-f0-9]{40}/.+$', + '^https://(www\.)?github\.com/ethereum/execution-specs/(blob|tree)/[a-f0-9]{40}/.+$', '^https://(www\.)?github\.com/ethereum/execution-specs/commit/[a-f0-9]{40}$', - '^https://(www\.)?github\.com/ethereum/devp2p/blob/[0-9a-f]{40}/.+$', + '^https://(www\.)?github\.com/ethereum/devp2p/(blob|tree)/[0-9a-f]{40}/.+$', '^https://(www\.)?github\.com/ethereum/devp2p/commit/[0-9a-f]{40}$', - '^https://(www\.)?github\.com/bitcoin/bips/blob/[0-9a-f]{40}/bip-[0-9]+\.mediawiki$', + '^https://(www\.)?github\.com/bitcoin/bips/(blob|tree)/[0-9a-f]{40}/bip-[0-9]+\.mediawiki$', '^https://www\.w3\.org/TR/[0-9][0-9][0-9][0-9]/.*$', '^https://[a-z]*\.spec\.whatwg\.org/commit-snapshots/[0-9a-f]{40}/$', '^https://www\.rfc-editor\.org/rfc/.*$',