28 lines
684 B
YAML
28 lines
684 B
YAML
---
|
|
name: markdownlint check
|
|
|
|
on: # yamllint disable-line rule:truthy
|
|
pull_request:
|
|
types: [opened, edited, reopened, synchronize]
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
build:
|
|
name: markdownlint check
|
|
runs-on: ubuntu-22.04
|
|
permissions:
|
|
contents: read
|
|
pull-requests: read
|
|
packages: read
|
|
statuses: write
|
|
steps:
|
|
- name: code checkout
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
|
with:
|
|
fetch-depth: 0
|
|
- name: dependencies installation
|
|
run: npm install
|
|
- name: markdownlint check
|
|
run: npx markdownlint --config .github/config/markdownlint.yaml "**/*.md" --ignore node_modules
|