Skip to content

Commit

Permalink
Fix dots and warn
Browse files Browse the repository at this point in the history
  • Loading branch information
Johennes committed Aug 8, 2024
1 parent 2f67575 commit b608791
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/lint-jsonschema/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ runs:
if ! curl --head --silent --fail "$location" 2>&1 > /dev/null; then
if ! curl --silent --fail "$location" 2>&1 > /dev/null; then
# Some URLs are examples or the endpoints helpfully support neither OPTIONS nor HEAD
if [[ "$location" =~ *example* ]] || \
if [[ "$location" =~ .*example.* ]] || \
[[ "$location" = https://idp-ref.app.ti-dienste.de/auth ]] || \
[[ "$location" = https://idp.app.ti-dienste.de/auth ]] || \
[[ "$location" = https://idp-ref.app.ti-dienste.de/token ]] || \
[[ "$location" = https://idp.app.ti-dienste.de/token ]] || \
[[ "$location" = https://idp-ref.app.ti-dienste.de ]];
then
warn "$file references non-verifiable location $location"warn
warn "$file references non-verifiable location $location"
else
err "$file references non-existent location $location"
rc=1
Expand Down

0 comments on commit b608791

Please sign in to comment.