1
0
mirror of synced 2025-12-25 02:09:19 -05:00

improve link checker (#6797)

* improve link checker

* use ref instead of base_ref

* remove base, always compare to master for modified

* add failing to test

* don't do quiet for testing

* switch error to 404 not 403

* yes to both

* turn off verbose mode

* fix

* actually check things

* fix outstanding link problems

* revet change to run for everything

* use new format

* ignore gitbook failures

* switch back to only running on master
This commit is contained in:
Jared Rhizor
2021-11-07 23:01:08 -08:00
committed by GitHub
parent 4a5751ae7d
commit 154ecceda0
8 changed files with 25 additions and 11 deletions

View File

@@ -45,11 +45,15 @@
"reason": "Test only scaffold connector",
"pattern": "destinations/scaffold-"
},
{
"reason": "Returns a 403 for many valid pages",
"pattern": "https://mvnrepository.com/artifact/"
},
{
"reason": "Archived articles aren't actively maintained.",
"pattern": "archive/"
}
],
"retryOn429": false,
"aliveStatusCodes": [200, 206, 401, 403, 429, 503]
"aliveStatusCodes": [200, 206, 429, 503, 0]
}

View File

@@ -1,5 +1,6 @@
# Perform link check on all markdown files
name: Doc Link Checker (Full)
name: Doc Link Checker
on:
push:
@@ -12,10 +13,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
# check all files on master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
if: github.ref == 'refs/heads/master'
with:
use-quiet-mode: 'no'
use-verbose-mode: 'yes'
use-quiet-mode: 'yes'
check-modified-files-only: 'no'
config-file: .github/workflows/doc-link-check.json
base-branch: ${{ github.base_ref }}
# # check changed files for branches
# - uses: gaurav-nelson/github-action-markdown-link-check@v1
# if: github.ref != 'refs/heads/master'
# with:
# use-quiet-mode: 'yes'
# check-modified-files-only: 'yes'
# config-file: .github/workflows/doc-link-check.json

View File

@@ -10,8 +10,8 @@ Airbyte allows scaling sync workloads horizontally using Kubernetes. The core co
For local testing we recommend following one of the following setup guides:
* [Docker Desktop \(Mac\)](https://docs.docker.com/desktop/kubernetes/)
* [Minikube](https://minikube.sigs.k8s.io/docs/start/)
* [Docker Desktop \(Mac\)](https://docs.docker.com/desktop/kubernetes)
* [Minikube](https://minikube.sigs.k8s.io/docs/start)
* NOTE: Start Minikube with at least 4gb RAM with `minikube start --memory=4000`
* [Kind](https://kind.sigs.k8s.io/docs/user/quick-start/)

View File

@@ -38,7 +38,7 @@ The Amplitude connector should gracefully handle Amplitude API limitations under
* Amplitude Secret Key
### Setup guide
<!-- markdown-link-check-disable-next-line -->
Please read [How to get your API key and Secret key](https://help.amplitude.com/hc/en-us/articles/360058073772-Create-and-manage-organizations-and-projects#view-and-edit-your-project-information).
## Changelog

View File

@@ -51,7 +51,7 @@ The Iterable connector should not run into Iterable API limitations under normal
* Iterable API Key
### Setup guide
<!-- markdown-link-check-disable-next-line -->
Please read [How to find your API key](https://support.iterable.com/hc/en-us/articles/360043464871-API-Keys-#creating-api-keys).
## CHANGELOG

View File

@@ -44,6 +44,7 @@ The Klaviyo connector should not run into Klaviyo API limitations under normal u
### Setup guide
<!-- markdown-link-check-disable-next-line -->
Please follow these [steps](https://help.klaviyo.com/hc/en-us/articles/115005062267-How-to-Manage-Your-Account-s-API-Keys#your-private-api-keys3) to obtain Private API Key for your account.
## CHANGELOG

View File

@@ -47,9 +47,10 @@ The Mixpanel connector should not run into Mixpanel API limitations under normal
* Project region `US` or `EU`
### Setup guide
<!-- markdown-link-check-disable-next-line -->
Please read [Find API Secret](https://help.mixpanel.com/hc/en-us/articles/115004502806-Find-Project-Token-).
<!-- markdown-link-check-disable-next-line -->
Select the correct region \(EU or US\) for your Mixpanel project. See detail [here](https://help.mixpanel.com/hc/en-us/articles/360039135652-Data-Residency-in-EU)
## CHANGELOG

View File

@@ -42,7 +42,7 @@ The Trello connector should not run into Trello API limitations under normal usa
* Trello API Key
### Setup guide
<!-- markdown-link-check-disable-next-line -->
Please read [How to get your APIs Token and Key](https://developer.atlassian.com/cloud/trello/guides/rest-api/authorization/#using-basic-oauth) or you can log in to Trello and visit [Developer API Keys](https://trello.com/app-key/).
## Changelog