mirror of
https://github.com/jlengrand/moderne-docs.git
synced 2026-03-10 08:31:21 +00:00
Create find-broken-links.yml
This commit is contained in:
18
.github/workflows/find-broken-links.yml
vendored
Normal file
18
.github/workflows/find-broken-links.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Check for broken references
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
- name: Find broken references
|
||||
run: |
|
||||
if grep -r --exclude-dir=.github "broken-reference" . ; then
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user