2020-10-22 00:46:09 +00:00
|
|
|
name: Check link
|
2020-02-23 03:13:23 +00:00
|
|
|
|
|
|
|
on:
|
2020-10-13 16:28:50 +00:00
|
|
|
# push:
|
|
|
|
# pull_request:
|
2020-10-07 05:44:57 +00:00
|
|
|
workflow_dispatch:
|
2020-02-23 03:13:23 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
check-link:
|
|
|
|
name: check-link
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
with:
|
|
|
|
fetch-depth: 1
|
2020-04-28 14:39:47 +00:00
|
|
|
# search Issues :-(
|
2020-02-23 03:13:23 +00:00
|
|
|
- run: |
|
|
|
|
docker run -i --rm \
|
|
|
|
-v $PWD:/mnt:ro \
|
|
|
|
dkhamsing/awesome_bot \
|
2020-02-23 04:18:53 +00:00
|
|
|
--white-list "localhost","0.0.0.0",\
|
|
|
|
"server","example.com","docker",\
|
|
|
|
"docker.domain.com","YourIP","register",\
|
|
|
|
"172.16.238.100","172.16.238.101","172.16.238.102",\
|
|
|
|
"192.168.199.100",\
|
|
|
|
"github.com/settings",\
|
|
|
|
"github.com/docker/compose/releases/download",\
|
|
|
|
"github.com/docker/machine/releases/download",\
|
|
|
|
"github.com/etcd-io/etcd/releases/download",\
|
|
|
|
"github.com/tianon/gosu/releases/download",\
|
|
|
|
"github.com/yeasy/docker_practice",\
|
|
|
|
"github.com/AliyunContainerService/k8s-for-docker-desktop/raw",\
|
2020-02-27 15:31:01 +00:00
|
|
|
"dl-cdn.alpinelinux.org/alpine/edge/testing",\
|
2020-02-23 04:18:53 +00:00
|
|
|
"www.w3.org/1999/xhtml",\
|
|
|
|
"cr.console.aliyun.com",\
|
|
|
|
"cloud.tencent.com",\
|
|
|
|
"nodejs.org/dist/",\
|
|
|
|
"c.163.com/hub",\
|
|
|
|
"drone.yeasy.com",\
|
|
|
|
"docs.docker.com",\
|
|
|
|
"dockerhub.azk8s.cn",\
|
2020-10-10 01:18:58 +00:00
|
|
|
"reg-mirror.qiniu.com",\
|
|
|
|
"registry.docker-cn.com",\
|
2020-04-04 14:54:32 +00:00
|
|
|
"mirror.ccs.tencentyun.com",\
|
2020-02-23 04:18:53 +00:00
|
|
|
"vuepress.mirror.docker-practice.com",\
|
|
|
|
"mc.qcloudimg.com/static/img",\
|
|
|
|
"www.daocloud.io/mirror",\
|
|
|
|
"download.docker.com",\
|
|
|
|
"www.ubuntu.com",\
|
|
|
|
"archive.ubuntu.com",\
|
|
|
|
"security.ubuntu.com/ubuntu",\
|
|
|
|
"nginx.com",\
|
|
|
|
"img.shields.io/github/release/yeasy/docker_practice",\
|
|
|
|
"launchpad.net",\
|
|
|
|
"www.w3.org/1999",\
|
|
|
|
"chat.freenode.net",\
|
|
|
|
"en.wikipedia.org/wiki/UnionFS",\
|
|
|
|
"product.china-pub.com",\
|
|
|
|
"union-click.jd.com",\
|
2020-04-28 14:39:47 +00:00
|
|
|
"x.x.x.x/base",\
|
|
|
|
"x.x.x.x:9000/minio/",\
|
2020-10-07 05:44:57 +00:00
|
|
|
"yeasy.gitbooks.io",\
|
2021-03-02 16:11:07 +00:00
|
|
|
"download.fastgit.org",\
|
2020-02-23 04:18:53 +00:00
|
|
|
"www.aliyun.com" \
|
2020-02-23 03:13:23 +00:00
|
|
|
--allow-dupe \
|
|
|
|
--skip-save-results \
|
2020-02-27 15:31:01 +00:00
|
|
|
-t 10 \
|
2020-02-23 04:18:53 +00:00
|
|
|
`find . \( -path "./mesos" -o -path "./machine" -o -path "./swarm_mode" \) -prune -o -name "*.md" -exec ls {} \;`
|
2020-02-23 03:13:23 +00:00
|
|
|
name: check-link
|
2020-02-23 04:18:53 +00:00
|
|
|
timeout-minutes: 25
|