Debian Codegraph @

.github/workflows/check-links.yml

raw symbols SCIP
1 ---
2 name: Check links
3
4 on:
5 pull_request:
6
7 jobs:
8 markdown-link-check:
9 name: Check links using markdown-link-check
10 runs-on: ubuntu-latest
11
12 steps:
13 # Checks out a copy of your repository on the ubuntu-latest machine
14 - name: Checkout code
15 uses: actions/checkout@v4
16 with:
17 # Make sure the actual branch is checked out when running on PR
18 ref: ${{ github.event.pull_request.head.sha }}
19 # Full git history needed to get proper list of changed files
20 fetch-depth: 0
21
22 - name: Check links on new changes
23 uses: gaurav-nelson/github-action-markdown-link-check@v1
24 with:
25 config-file: ".github/linters/mlc_config.json"
26 check-modified-files-only: "yes"
27 use-quiet-mode: "yes"
28 use-verbose-mode: "yes"
29 base-branch: "main"