From ca4002665dcaf1b16ddad6a369223e67fc1b2158 Mon Sep 17 00:00:00 2001 From: Pauline <4224001+paulineribeyre@users.noreply.github.com> Date: Fri, 20 Oct 2023 13:33:31 -0500 Subject: [PATCH] Lint markdown files --- .github/workflows/markdown-lint.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/markdown-lint.yaml diff --git a/.github/workflows/markdown-lint.yaml b/.github/workflows/markdown-lint.yaml new file mode 100644 index 0000000000..d460e1092b --- /dev/null +++ b/.github/workflows/markdown-lint.yaml @@ -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