Skip to content

Commit

Permalink
ci: 👷 setup markdown linter workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbarsukov committed Oct 10, 2024
1 parent 26f5fbe commit f697fa7
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/markdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Markdown CI

on:
push:
branches:
- master
paths:
- ".github/workflows/*"
- ".markdownlint.jsonc"
- "**/*.md"
pull_request:
branches:
- master
paths:
- ".github/workflows/*"
- ".markdownlint.jsonc"
- "**/*.md"

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: markdownlint-cli
uses: nosborn/github-action-markdown-cli@v3.3.0
with:
files: "*.md"
config_file: .markdownlint.jsonc
dot: true

0 comments on commit f697fa7

Please sign in to comment.