From ca0c756cc21a3426a02c9f57b96b83a06c771863 Mon Sep 17 00:00:00 2001 From: John Turner Date: Mon, 16 Sep 2024 16:46:46 -0400 Subject: [PATCH] adds a check to confirm we are getting links with http and not blank or just brackets. --- .github/workflows/check_links.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_links.py b/.github/workflows/check_links.py index 967fe7f..ce6da2c 100644 --- a/.github/workflows/check_links.py +++ b/.github/workflows/check_links.py @@ -78,7 +78,7 @@ def clean_link(link): def add_link(loc,link): # this is a command being ran so difficult to validate in this script, skip it - if '$(uname' in link: + if '$(uname' in link or "http" not in link: return False # get just from the http portion if there was more in from of the string we grabbed