Skip to content

issue #43: add config input #21

issue #43: add config input

issue #43: add config input #21

name: Check Markdown links
on:
workflow_call:
push:
inputs:

Check failure on line 7 in .github/workflows/workflow-markdown-check.yml

View workflow run for this annotation

GitHub Actions / Check Markdown links

Invalid workflow file

The workflow is not valid. .github/workflows/workflow-markdown-check.yml (Line: 7, Col: 1): Unexpected value 'inputs'
config-file-path:
required: false
type: string
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Validating links
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
config-file: '${{ inputs.config-file-path }}'
- name: Verify line 80 wrap
uses: DavidAnson/markdownlint-cli2-action@v14
with:
config: .markdownlint.json
if: always() # Run step even if previous steps fail.