Skip to content

Commit

Permalink
#2 Added markdownlint config and workflow (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
vityaman authored Feb 26, 2024
1 parent 3416507 commit 6976e3c
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/markdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Markdown Check
on:
push:
paths:
- ".github/workflows/*"
- ".markdownlint.yaml"
- "**/*.md"
pull_request:
paths:
- ".github/workflows/*"
- ".markdownlint.yaml"
- "**/*.md"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Markdownlint
uses: nosborn/github-action-markdown-cli@v3.3.0
with:
config_file: .markdownlint.yaml
files: "**/*.md"
dot: true
5 changes: 5 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
MD013:
line_length: 2000 # We use word-wrapping
heading_line_length: 80
code_block_line_length: 80
strict: true
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# lms
# Learning Management System

A simple learning management system.

0 comments on commit 6976e3c

Please sign in to comment.