Skip to content

Commit e8f786f

Browse files
committed
Merge the markdown-lint-check step into lint
1 parent 45a9d6f commit e8f786f

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/coder.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,26 @@ jobs:
9191
cd helm
9292
make lint
9393
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+
with:
100+
use-quiet-mode: yes
101+
use-verbose-mode: yes
102+
config-file: .github/workflows/mlc_config.json
103+
# For pull requests:
104+
- if: github.ref != 'refs/heads/main' || github.event.pull_request.head.repo.fork
105+
uses: gaurav-nelson/github-action-markdown-link-check@v1
106+
name: Check for dead links (pull request)
107+
with:
108+
use-quiet-mode: yes
109+
use-verbose-mode: yes
110+
check-modified-files-only: yes
111+
base-branch: main
112+
config-file: .github/workflows/mlc_config.json
113+
94114
# Ensure AGPL and Enterprise are separated!
95115
- name: Check for AGPL code importing Enterprise...
96116
run: ./scripts/check_enterprise_imports.sh
@@ -650,23 +670,3 @@ jobs:
650670
buildScriptName: "storybook:build"
651671
projectToken: 695c25b6cb65
652672
workingDir: "./site"
653-
markdown-link-check:
654-
runs-on: ubuntu-latest
655-
steps:
656-
- uses: actions/checkout@master
657-
# For the main branch:
658-
- if: github.ref == 'refs/heads/main' && !github.event.pull_request.head.repo.fork
659-
uses: gaurav-nelson/github-action-markdown-link-check@v1
660-
with:
661-
use-quiet-mode: yes
662-
use-verbose-mode: yes
663-
config-file: .github/workflows/mlc_config.json
664-
# For pull requests:
665-
- if: github.ref != 'refs/heads/main' || github.event.pull_request.head.repo.fork
666-
uses: gaurav-nelson/github-action-markdown-link-check@v1
667-
with:
668-
use-quiet-mode: yes
669-
use-verbose-mode: yes
670-
check-modified-files-only: yes
671-
base-branch: main
672-
config-file: .github/workflows/mlc_config.json

0 commit comments

Comments
 (0)