diff --git a/.404-links.yml b/.404-links.yml new file mode 100644 index 0000000..f71893e --- /dev/null +++ b/.404-links.yml @@ -0,0 +1,2 @@ +delay: + 'https://github.com': 500 #Avoiding Github rate limit by delaying the request -> 500ms diff --git a/.github/workflows/404-links.yml b/.github/workflows/404-links.yml new file mode 100644 index 0000000..28b24e3 --- /dev/null +++ b/.github/workflows/404-links.yml @@ -0,0 +1,14 @@ +name: Dead link checker + +on: + push: + branches: [ master ] + pull_request: + types: [assigned, opened, synchronize, reopened] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Check links + uses: restqa/404-links@2.2.0