Skip to content

Commit

Permalink
ci: add a workflow to validate Markdown syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
fharper committed Nov 15, 2023
1 parent 605007c commit 57b97a7
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/check-markdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Markdown Syntax Validation

on: [push, workflow_dispatch]

jobs:
markdown-check:

runs-on: ubuntu-latest
steps:
- name: Checkout this repository
uses: actions/[email protected]

- name: Validate Markdown
uses: DavidAnson/[email protected]
with:
config: .markdownlint.json
globs: "**.md"
12 changes: 12 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"MD013": false,
"MD024": false,
"MD025": false,
"MD033": false,
"MD049": {
"style": "underscore"
},
"MD050": {
"style": "asterisk"
}
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- markdownlint-disable MD041 -->
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="img/kubefirst-light.svg" alt="Kubefirst Logo">
Expand Down

0 comments on commit 57b97a7

Please sign in to comment.