Skip to content

Commit

Permalink
Lint markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed Oct 20, 2023
1 parent 9139d4d commit ca40026
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/markdown-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Markdown Linting

on:
pull_request:
types: [opened, reopened]

jobs:
lint-changelog:
name: Markdown Linting
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Lint changelog file
uses: docker://avtodev/markdown-lint:v1.5.0
# with:
# rules: '/lint/rules/changelog.js'
# config: '/lint/config/changelog.yml'
# args: './CHANGELOG.md'
# ignore: './one_file.md ./another_file.md' # multiple files must be separated with single space

0 comments on commit ca40026

Please sign in to comment.