Files
Hippy/.github/workflows/docs.yml
T

30 lines
692 B
YAML

name: '[markdown-lint] check documents format'
on:
pull_request:
paths:
- '*.md'
- 'docs/**/*.md'
branches:
# Pull request events to main branch
- main
# Pull request events to master branch
- master
# Pull request events to v3.0-dev branch
- v3.0-dev
# Pull request events to v3.0 branch
- v3.0
tags-ignore:
- '**'
jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: markdownlint
uses: nosborn/github-action-markdown-cli@v1.1.1
with:
config_file: .markdownlintrc.json
files: ./README*.md ./PUBLISH*.md ./docs/**/*.md