Docs #17607
Workflow file for this run
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
name: Docs | |
# Cancel workflow if there is a new change to the branch. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '**.md' | |
- '.github/workflows/docs.yml' | |
merge_group: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '**.md' | |
- '.github/workflows/docs.yml' | |
jobs: | |
check-docs: | |
name: Markdown Lint | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Lint Markdown | |
run: make md-check | |
- name: Link check | |
uses: lycheeverse/[email protected] | |
with: | |
args: '*.md .github/*.md .github/**/*.md .config/*.md' | |
# Fail action on broken links | |
fail: true |