Skip to content

Commit

Permalink
Add workflow to lint README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
madpilot78 committed Jul 8, 2024
1 parent 4f8a025 commit f4a29f2
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---

name: tests

on:
- push
- pull_request
- workflow_dispatch

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Lint README (markdown)
uses: avto-dev/markdown-lint@v1
with:
config: ./.markdownlint.yml
args: ./README.md
11 changes: 11 additions & 0 deletions .markdownlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---

default: true
no-hard-tabs:
code_blocks: false
line-length:
code_blocks: false
no-bare-urls: false
fenced-code-language: false
no-duplicate-heading:
siblings_only: true

0 comments on commit f4a29f2

Please sign in to comment.