mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-10 11:54:37 +00:00
[actions] check md files link
Signed-off-by: Kang HuaiShuai <khs1994@khs1994.com>
This commit is contained in:
24
.github/workflows/check-link.yml
vendored
Normal file
24
.github/workflows/check-link.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
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 \
|
||||
--white-list "localhost" \
|
||||
--allow-dupe \
|
||||
--allow-redirect \
|
||||
--skip-save-results \
|
||||
`find . -name "*.md"`
|
||||
name: check-link
|
||||
Reference in New Issue
Block a user