2020-02-23 11:13:23 +08:00
|
|
|
name: check-link
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
check-link:
|
|
|
|
name: check-link
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
with:
|
|
|
|
fetch-depth: 1
|
|
|
|
- run: |
|
|
|
|
docker run -i --rm \
|
|
|
|
-v $PWD:/mnt:ro \
|
|
|
|
dkhamsing/awesome_bot \
|
2020-02-23 11:36:56 +08:00
|
|
|
--white-list "localhost","0.0.0.0","172.16.238.100","server","example.com",\
|
|
|
|
"docker.domain.com","YourIP","registry" \
|
2020-02-23 11:13:23 +08:00
|
|
|
--allow-dupe \
|
|
|
|
--skip-save-results \
|
|
|
|
`find . -name "*.md"`
|
|
|
|
name: check-link
|