Create find-broken-links.yml

This commit is contained in:
Mike Solomon
2023-05-02 12:29:20 -07:00
committed by GitHub
parent bc70880bab
commit a9f02c3905

18
.github/workflows/find-broken-links.yml vendored Normal file
View 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