Skip to content

Commit

Permalink
ci: detect broken links using linkspector
Browse files Browse the repository at this point in the history
  • Loading branch information
Realiserad committed Jun 20, 2024
1 parent 318d2d2 commit e39365c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/linkspector.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Linkspector
on:
pull_request:
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: 1arp/create-a-file-action@0.4.5
with:
file: .linkspector.yml
content: |
dirs: ['.']
useGitIgnore: true
modifiedFilesOnly: true
- name: Run Linkspector
uses: realiserad/action-linkspector@v1.0.2
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review

0 comments on commit e39365c

Please sign in to comment.