Skip to content

Commit

Permalink
Add GitHub action to validate links in markdown files (NVIDIA#1640)
Browse files Browse the repository at this point in the history
Add GitHub action to run xrefcheck on markdown files.
  • Loading branch information
jrhemstad committed Mar 29, 2022
1 parent b1bf1e9 commit 0dbb0e0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/xrefcheck-validate-markdown-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Check bad links

on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]

jobs:
xrefcheck:
name: Check links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: serokell/xrefcheck-action@v1
with:
xrefcheck-version: 0.2
xrefcheck-args: --ignored dependencies
2 changes: 1 addition & 1 deletion docs/github_pages/setup/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ nav_order: 0
# Requirements

All requirements are applicable to the `main` branch on GitHub.
For details on specific releases, please see the [changelog].
For details on specific releases, please see the [CHANGELOG.md].

## Usage Requirements

Expand Down

0 comments on commit 0dbb0e0

Please sign in to comment.