Skip to content

Commit

Permalink
Merge pull request #138 from dholbach/check-links
Browse files Browse the repository at this point in the history
add Github Action to check links
  • Loading branch information
Daniel Holbach committed Apr 30, 2020
2 parents 92ca18f + c571a77 commit f2a0f8e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/check-links.yaml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit f2a0f8e

Please sign in to comment.