From 9c256a53c45efd88b6e60bf700d5756edbe1a35e Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sun, 1 Jun 2025 13:38:28 +0200 Subject: [PATCH] chore(ci): use DavidAnson/markdownlint-cli2-action@v19.1.0 --- .gitea/workflows/markdown-linters.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/markdown-linters.yaml b/.gitea/workflows/markdown-linters.yaml index e2715a7..8823ae4 100644 --- a/.gitea/workflows/markdown-linters.yaml +++ b/.gitea/workflows/markdown-linters.yaml @@ -1,20 +1,18 @@ -name: Markdown linter +name: 'Lint Markdown files' on: pull_request: types: [ "opened", "reopened", "synchronize" ] push: - branches: [ '**' ] - tags-ignore: [ '**' ] - workflow_dispatch: {} + branches: [ '*' ] + tags-ignore: [ '*' ] jobs: markdown-lint: - container: - image: git.cryptic.systems/volker.raschek/markdownlint:0.45.0 runs-on: - ubuntu-latest steps: - uses: actions/checkout@v4.2.2 - - name: Lint Markdown files - run: markdownlint --config .markdownlint.yaml . \ No newline at end of file + - uses: DavidAnson/markdownlint-cli2-action@v19.1.0 + with: + globs: '**/*.md' \ No newline at end of file