diff --git a/.github/workflows/broken-link-check.yml b/.github/workflows/broken-link-check.yml new file mode 100644 index 00000000..c454a709 --- /dev/null +++ b/.github/workflows/broken-link-check.yml @@ -0,0 +1,20 @@ +name: Broken link check +on: [push] + +jobs: + broken_link_checker_job: + runs-on: ubuntu-latest + name: Check for broken links + steps: + - name: Check for broken links + id: link-report + uses: celinekurpershoek/link-checker@v1.0.2 + with: + # Required: + url: "https://github.com/kubearmor/kubearmor-client" + # optional: + honorRobotExclusions: false + ignorePatterns: "github,google" + recursiveLinks: false # Check all URLs on all reachable pages (could take a while) + - name: Get the result + run: echo "${{steps.link-report.outputs.result}}"