-
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (26 loc) · 844 Bytes
/
Copy pathdocs-links.yml
File metadata and controls
32 lines (26 loc) · 844 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
name: docs-links
# Advisory broken-link check for the Mintlify site. Runs only on PRs that touch the
# mintlify/ folder. Non-blocking: the job reports findings but does not fail the PR
# (continue-on-error), so a transient link check never gates a merge. Mintlify deploys
# via its GitHub App, not from CI — there is intentionally no deploy workflow here.
on:
pull_request:
paths:
- "mintlify/**"
workflow_dispatch: {}
permissions:
contents: read
jobs:
broken-links:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Check internal links
working-directory: mintlify
continue-on-error: true
run: npx --yes mintlify broken-links