forked from microsoft/WhatTheHack
-
Notifications
You must be signed in to change notification settings - Fork 5
35 lines (28 loc) · 1.09 KB
/
Copy pathchecklinks.yml
File metadata and controls
35 lines (28 loc) · 1.09 KB
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
34
35
name: Check Markdown Links
on:
workflow_dispatch:
push:
paths:
- '.github/workflows/checklinks.yml'
- '001-IntroToKubernetes/**'
jobs:
checklinks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# - name: Link Checker
# uses: lycheeverse/lychee-action@v1.0.8
# with:
# args: --no-progress **/*.md
# https://github.com/gaurav-nelson/github-action-markdown-link-check
- name: Markdown Links Check
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
max-depth: 3
# By default the github-action-markdown-link-check action checks for all markdown files in your repository.
# Use the 'folder-path' option to limit checks to only specific folders.
# Use comma separated values for checking multiple folders.
folder-path: 001-IntroToKubernetes
# The config-file will need to be modified as additional challenges are added
config-file: .github/workflows/checklinks_config.json