Check links #333
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: Check links | |
on: | |
push: | |
pull_request: | |
jobs: | |
markdown-link-check: | |
name: Check links using markdown-link-check | |
runs-on: ubuntu-latest | |
steps: | |
# Checks out a copy of your repository on the ubuntu-latest machine | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
# Make sure the actual branch is checked out when running on PR | |
# ref: ${{ github.event.pull_request.head.sha }} | |
# Full git history needed to get proper list of changed files | |
fetch-depth: 0 | |
- name: Check links on new changes | |
uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
with: | |
config-file: ".github/linters/mlc_config.json" | |
check-modified-files-only: "yes" | |
use-quiet-mode: "yes" | |
use-verbose-mode: "yes" | |
base-branch: "main" |