Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

added Makefile

added Makefile #167

Workflow file for this run

name: "Lint Markdown"
on:
push:
pull_request:
jobs:
lint-changelog:
name: Lint Markdown
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Locate or create markdownlint config
run: |
if [ ! -f .markdownlint.json ]; then
echo "Using template markdownlint config"
cat << EOF > .markdownlint.json
{
"default": true,
"MD013": false,
"MD026": false,
"MD029": {"style": "ordered" },
"MD033": false,
"MD034": false,
"MD040": false,
"MD041": false
}
EOF
fi
- name: Run markdownlint
uses: docker://avtodev/markdown-lint:master
with:
config: '.markdownlint.json'
args: '**.md'