Skip to content

Commit

Permalink
Ignore @ZupIT domain on validation
Browse files Browse the repository at this point in the history
  • Loading branch information
reisdev authored May 3, 2024
1 parent eb8c570 commit a3bc978
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Actions/Validation/Sources/LinkValidator/LinkValidator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ public final class LinkValidator {
private let ignoreList = [
"https?://(www.)?linkedin.com",
"https?://(www.)?instagram.com",
"https?://([a-zA-Z0-9]*.)?medium.com"
"https?://([a-zA-Z0-9]*.)?medium.com",
"https?://(www.)?zup.com.br"
]

private func matchesIgnoreList(_ link: Link) -> Bool {
Expand Down

0 comments on commit a3bc978

Please sign in to comment.