forked from nasa/fprime
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (27 loc) · 897 Bytes
/
Copy pathmarkdown-link-check.yml
File metadata and controls
33 lines (27 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Check Markdown links
on:
push:
branches: [devel, docs/new-website]
pull_request:
branches: [devel]
# Cancel in-progress runs if a newer run is started on a given PR
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
permissions:
contents: read
jobs:
markdown-link-check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: 'Generate Doxygen and CMake docs'
run: |
sudo apt-get update
sudo apt-get install -y doxygen
./docs/doxygen/generate_docs.bash
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
config-file: ./.github/actions/markdown-check/mlc-config.json