Skip to content

Check Markdown links #6

Check Markdown links

Check Markdown links #6

ame: Check Markdown links

Check failure on line 1 in .github/workflows/check-broken-link.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/check-broken-link.yml

Invalid workflow file

The workflow is not valid. .github/workflows/check-broken-link.yml (Line: 1, Col: 1): Unexpected value 'ame'
on:
# triggered on PR
# pull_request: {}
# manual trigger
workflow_dispatch: {}
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# run for .md
- uses: gaurav-nelson/github-action-markdown-link-check@v1
name: 'check-md'
with:
file-extension: '.md'
# only returns errors
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
#location for config (different config to filter out .mdx
config-file: '.github/workflows/check_broken_link_md_config.json'
# folders to check parse
folder-path: 'pages/docs, pages/changelogs, pages/guides'
# depth from folder path
max-depth: -1
# only check files changed in the PR
check-modified-files-only: 'yes'
# branch to compare for diff
base-branch: 'main'
# run for .mdx
- uses: gaurav-nelson/github-action-markdown-link-check@v1
name: 'check-mdx'
if: '!cancelled()'
with:
file-extension: '.mdx'
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
#location for config (different config to filter out .md
config-file: '.github/workflows/check_broken_link_mdx_config.json'
folder-path: 'pages/docs, pages/changelogs, pages/guides'
max-depth: -1
# only check files changed in the PR
check-modified-files-only: 'yes'
# branch to compare for diff
base-branch: 'main'