|
64 | 64 | with:
|
65 | 65 | ignore: node_modules
|
66 | 66 |
|
| 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 | + |
67 | 91 | # Lint our dashboard!
|
68 | 92 | - name: Cache node_modules
|
69 | 93 | id: cache-node
|
@@ -91,30 +115,6 @@ jobs:
|
91 | 115 | cd helm
|
92 | 116 | make lint
|
93 | 117 |
|
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 |
| - |
118 | 118 | # Ensure AGPL and Enterprise are separated!
|
119 | 119 | - name: Check for AGPL code importing Enterprise...
|
120 | 120 | run: ./scripts/check_enterprise_imports.sh
|
|
0 commit comments