-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check repo root and docs/docs separately
- Loading branch information
1 parent
c4ed126
commit 6c1b3be
Showing
2 changed files
with
14 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
name: Check Markdown links | ||
on: push | ||
jobs: | ||
markdown-link-check: | ||
Check markdown links in the repo root: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Check out the latest version of the code | ||
- uses: actions/checkout@v4 | ||
|
||
# Remove folders that we do not want to check. | ||
# This is due to the markdown-link-check action | ||
# not having an exclude parameter, see | ||
# https://github.com/gaurav-nelson/github-action-markdown-link-check/issues/38 | ||
- name: Remove folders that we do not want to check | ||
run: rm -rf .changelog | ||
|
||
# Checks the status of hyperlinks in *.md files in docs/ | ||
# Checks the status of hyperlinks in *.md files in the repo root | ||
- uses: gaurav-nelson/[email protected] | ||
with: | ||
config-file: .markdownlink_check_config.json | ||
folder-path: '.' | ||
max-depth: 1 | ||
|
||
Check markdown links in docs/docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Check out the latest version of the code | ||
- uses: actions/checkout@v4 | ||
# Checks the status of hyperlinks in *.md files in the docs/docs folder | ||
- uses: gaurav-nelson/[email protected] | ||
with: | ||
folder-path: 'docs/docs' |
This file was deleted.
Oops, something went wrong.