From 4f077f5c6219b54febf4555cfe437e96756e4772 Mon Sep 17 00:00:00 2001 From: n Date: Thu, 3 Oct 2024 22:00:57 +0200 Subject: [PATCH] add markdownlint to CI --- .forgejo/workflows/lint.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml index 7f90f20..2105932 100644 --- a/.forgejo/workflows/lint.yml +++ b/.forgejo/workflows/lint.yml @@ -12,6 +12,12 @@ jobs: - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - name: Check out repository code uses: actions/checkout@v4 + - name: Lint Markdown files + uses: actions/markdownlint-cli2-action@v17 + with: + globs: | + **/*.md + !vendor/*.md - name: Install linters using Composer run: | export COMPOSER_HOME=/tmp