Ignore Cloudflare URLs

They seem to be blocking GitHub Actions' IP space
This commit is contained in:
Jonah Aragon 2021-05-12 09:02:27 -05:00
parent 5504c50d9c
commit f412f95465
No known key found for this signature in database
GPG Key ID: 6A957C9A9A9429F7

View File

@ -126,13 +126,13 @@ jobs:
uses: chabad360/htmlproofer@v1.1
with:
directory: ${{ github.workspace }}/_site
arguments: --assume-extension --external_only --internal-domains privacyguides.org,www.privacyguides.org --timeframe 30d --url-ignore '.*github\.com\/privacyguides\/privacyguides\.org\/edit\/main.*'
arguments: --assume-extension --external_only --internal-domains privacyguides.org,www.privacyguides.org --timeframe 30d --url-ignore '/https:\/\/developers\.cloudflare\.com\//,/https:\/\/github\.com\/privacyguides\/privacyguides\.org\/(edit|tree|blob)\/main/'
continue-on-error: true
- name: Check External Links (Only 4XX)
uses: chabad360/htmlproofer@v1.1
with:
directory: ${{ github.workspace }}/_site
arguments: --assume-extension --external_only --only_4xx --http-status-ignore 429 --internal-domains privacyguides.org,www.privacyguides.org --timeframe 30d --url-ignore '.*github\.com\/privacyguides\/privacyguides\.org\/edit\/main.*'
arguments: --assume-extension --external_only --only_4xx --http-status-ignore 429 --internal-domains privacyguides.org,www.privacyguides.org --timeframe 30d --url-ignore '/https:\/\/developers\.cloudflare\.com\//,/https:\/\/github\.com\/privacyguides\/privacyguides\.org\/(edit|tree|blob)\/main/'
https:
name: "Require HTTPS Internal Images"