Skip to content

ci(lint): add linting workflow for markdown files (#83) #3

ci(lint): add linting workflow for markdown files (#83)

ci(lint): add linting workflow for markdown files (#83) #3

Workflow file for this run

name: Lint
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v5
with:
fetch-depth: 1
- name: Get changed markdown files
id: changed-files
uses: tj-actions/changed-files@v44
with:
files: |
**/*.md
- name: Markdown lint
uses: docker://avtodev/markdown-lint:v1
with:
config: '.markdownlint.yml'
args: '${{ steps.changed-files.outputs.all_changed_files }}'