diff --git a/.github/workflows/linkspector.yaml b/.github/workflows/linkspector.yaml new file mode 100644 index 0000000..29be3e5 --- /dev/null +++ b/.github/workflows/linkspector.yaml @@ -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