diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yaml new file mode 100644 index 0000000..fa50239 --- /dev/null +++ b/.github/workflows/check-links.yaml @@ -0,0 +1,16 @@ +name: "Check links" +on: [pull_request, push] + +jobs: + docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Link Checker + id: lc + uses: peter-evans/link-checker@v1 + with: + args: -r *.md *.yaml */*/*.go -x .cluster.local + - name: Fail if there were link errors + run: exit ${{ steps.lc.outputs.exit_code }} +