Ignore "internal" edit links

Otherwise PRs creating pages will fail tests
This commit is contained in:
Jonah Aragon 2021-05-03 09:00:41 -05:00
parent 749e87cc60
commit f33173ceaf
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 uses: chabad360/htmlproofer@v1.1
with: with:
directory: ${{ github.workspace }}/_site directory: ${{ github.workspace }}/_site
arguments: --assume-extension --external_only --internal-domains privacyguides.org,www.privacyguides.org --timeframe 30d arguments: --assume-extension --external_only --internal-domains privacyguides.org,www.privacyguides.org --timeframe 30d --url-ignore '.*github\.com\/privacyguides\/privacyguides\.org\/edit\/main.*'
continue-on-error: true continue-on-error: true
- name: Check External Links (Only 4XX) - name: Check External Links (Only 4XX)
uses: chabad360/htmlproofer@v1.1 uses: chabad360/htmlproofer@v1.1
with: with:
directory: ${{ github.workspace }}/_site directory: ${{ github.workspace }}/_site
arguments: --assume-extension --external_only --only_4xx --http-status-ignore 429 --internal-domains privacyguides.org,www.privacyguides.org --timeframe 30d 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.*'
https: https:
name: "Require HTTPS Internal Images" name: "Require HTTPS Internal Images"