mirror of
https://github.com/kubereboot/kured.git
synced 2026-08-23 21:36:33 +00:00
add Github Action to check links
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user