name: Check links in README.md

on:
  push:
    branches: [ '*' ]
  pull_request:
    branches: [ '*' ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - uses: docker://dkhamsing/awesome_bot:latest
      with:
        args: /github/workspace/Readme.md  --allow-dupe --request-delay 1 --allow-redirect --white-list https://ipfs.io,slideshare,https://img.shields.io
name: Check links in README.md

on:
  push:
    branches: [ '*' ]
  pull_request:
    branches: [ '*' ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - uses: docker://dkhamsing/awesome_bot:latest
      with:
        args: /github/workspace/Readme.md --allow 502 --allow-dupe --request-delay 1 --allow-redirect --white-list https://ipfs.io,slideshare,https://img.shields.io

Allow 502s during link checking
Allow 502s during link checking

Github occasionally pukes up 502 errors for good links when awesomebot
is checking the links in readme.md, even with the check interval set to
1 second.

Ignore the 502s, if there's a real issue it'll get found in the next
test run and this makes it easier to see if there's a real problem.

Signed-off-by: Joe Block <13bb081c6ac072ef78a3e348068e2204400d7335@unixorn.net>
