Skip to content

Commit 6695a4f

Browse files
kylecarbspull[bot]
authored andcommitted
chore: run markdown-link-check before linting types
1 parent 871ab29 commit 6695a4f

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

.github/workflows/ci.yaml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,30 @@ jobs:
6464
with:
6565
ignore: node_modules
6666

67+
# Check for dead links in our markdown!
68+
# For the main branch:
69+
- if: github.ref == 'refs/heads/main' && !github.event.pull_request.head.repo.fork
70+
uses: gaurav-nelson/github-action-markdown-link-check@v1
71+
name: Check for dead links (main)
72+
timeout-minutes: 1
73+
with:
74+
use-quiet-mode: yes
75+
use-verbose-mode: yes
76+
folder-path: docs
77+
config-file: .github/workflows/mlc_config.json
78+
# For pull requests:
79+
- if: github.ref != 'refs/heads/main' || github.event.pull_request.head.repo.fork
80+
uses: gaurav-nelson/github-action-markdown-link-check@v1
81+
name: Check for dead links (pull request)
82+
timeout-minutes: 1
83+
with:
84+
use-quiet-mode: yes
85+
use-verbose-mode: yes
86+
check-modified-files-only: yes
87+
base-branch: main
88+
folder-path: docs
89+
config-file: .github/workflows/mlc_config.json
90+
6791
# Lint our dashboard!
6892
- name: Cache node_modules
6993
id: cache-node
@@ -91,30 +115,6 @@ jobs:
91115
cd helm
92116
make lint
93117
94-
# Check for dead links in our markdown!
95-
# For the main branch:
96-
- if: github.ref == 'refs/heads/main' && !github.event.pull_request.head.repo.fork
97-
uses: gaurav-nelson/github-action-markdown-link-check@v1
98-
name: Check for dead links (main)
99-
timeout-minutes: 1
100-
with:
101-
use-quiet-mode: yes
102-
use-verbose-mode: yes
103-
folder-path: docs
104-
config-file: .github/workflows/mlc_config.json
105-
# For pull requests:
106-
- if: github.ref != 'refs/heads/main' || github.event.pull_request.head.repo.fork
107-
uses: gaurav-nelson/github-action-markdown-link-check@v1
108-
name: Check for dead links (pull request)
109-
timeout-minutes: 1
110-
with:
111-
use-quiet-mode: yes
112-
use-verbose-mode: yes
113-
check-modified-files-only: yes
114-
base-branch: main
115-
folder-path: docs
116-
config-file: .github/workflows/mlc_config.json
117-
118118
# Ensure AGPL and Enterprise are separated!
119119
- name: Check for AGPL code importing Enterprise...
120120
run: ./scripts/check_enterprise_imports.sh

0 commit comments

Comments
 (0)