Skip to content

Commit

Permalink
adds a check to confirm we are getting links with http and not blank …
Browse files Browse the repository at this point in the history
…or just brackets.
  • Loading branch information
JohnTurnerNIH committed Sep 16, 2024
1 parent bbbc543 commit ca0c756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca0c756

Please sign in to comment.