mirror of
https://github.com/gaurav-nelson/github-action-markdown-link-check.git
synced 2024-08-17 07:30:21 +03:00
34 lines
959 B
YAML
34 lines
959 B
YAML
name: 'markdown-link-check'
|
|
description: 'Check if all links are valid in markdown files.'
|
|
author: 'Gaurav Nelson'
|
|
branding:
|
|
icon: 'link'
|
|
color: 'green'
|
|
inputs:
|
|
use-quiet-mode:
|
|
description: 'Use yes to enable markdown-link-check quiet mode which only
|
|
list errors.'
|
|
required: true
|
|
default: 'no'
|
|
use-verbose-mode:
|
|
description: 'Use yes to enable markdown-link-check verbose mode which lists
|
|
additional details.'
|
|
required: true
|
|
default: 'no'
|
|
config-file:
|
|
description: 'Specify path to a markdown-link-check JSON configuration file.'
|
|
required: true
|
|
default: 'mlc_config.json'
|
|
folder-path:
|
|
description: 'Specify path to a custom folder where your markdown files are located.'
|
|
required: true
|
|
default: '.'
|
|
runs:
|
|
using: 'docker'
|
|
image: 'Dockerfile'
|
|
args:
|
|
- ${{ inputs.use-quiet-mode }}
|
|
- ${{ inputs.use-verbose-mode }}
|
|
- ${{ inputs.config-file }}
|
|
- ${{ inputs.folder-path }}
|