From 530e45901fd86854049d780439ca3302050fde1d Mon Sep 17 00:00:00 2001 From: Jonas Bostoen Date: Mon, 28 Oct 2024 11:58:56 +0100 Subject: [PATCH] feat(ci): add linkspector --- .github/workflows/linkspector.yml | 14 ++++++++++++++ .linkspector.yml | 7 +++++++ 2 files changed, 21 insertions(+) create mode 100644 .github/workflows/linkspector.yml create mode 100644 .linkspector.yml diff --git a/.github/workflows/linkspector.yml b/.github/workflows/linkspector.yml new file mode 100644 index 000000000..4ff35e8e3 --- /dev/null +++ b/.github/workflows/linkspector.yml @@ -0,0 +1,14 @@ +name: Linkspector +on: [pull_request] +jobs: + check-links: + name: runner / linkspector + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Run linkspector + uses: umbrelladocs/action-linkspector@v1 + with: + github_token: ${{ secrets.github_token }} + reporter: github-pr-review + fail_on_error: true \ No newline at end of file diff --git a/.linkspector.yml b/.linkspector.yml new file mode 100644 index 000000000..511f8020a --- /dev/null +++ b/.linkspector.yml @@ -0,0 +1,7 @@ +dirs: + - . + +excludedDirs: + - bolt-contracts/lib + +useGitIgnore: true \ No newline at end of file