From 84990c79d9d40b602e08544f87942a195b00e481 Mon Sep 17 00:00:00 2001 From: Philip Molloy Date: Fri, 5 Jun 2026 08:50:45 +0200 Subject: [PATCH 1/2] mdl: Exclude line length check Between 0.15.0 and 0.17.0 mdl started reporting warnings for lines that are too long because of links. There does not appear to be an easy way to ignore just those lines so exclude the check entirely. Signed-off-by: Philip Molloy --- .mdl_style.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.mdl_style.rb b/.mdl_style.rb index 466a6cb..162af4b 100644 --- a/.mdl_style.rb +++ b/.mdl_style.rb @@ -1,8 +1,8 @@ all # This should be 2 by default per the docs, but turned out to be 8 rule 'MD007', :indent => 2 -# Ignore line length in code blocks and tables -rule 'MD013', :ignore_code_blocks => true, :tables => false +# Ignore line length +exclude_rule 'MD013' # Allow inline HTML exclude_rule 'MD033' # Order ordered lists From 6202d7fc0a0fab8baca4e21ef1e83e3e0ddc124f Mon Sep 17 00:00:00 2001 From: Philip Molloy Date: Fri, 5 Jun 2026 08:54:50 +0200 Subject: [PATCH 2/2] github: Prevent duplicate workflow runs The push and pull_request actions caused the workflows to be run twice on PRs. Only run on push on the main branch (i.e. when the PR is merged) Signed-off-by: Philip Molloy --- .github/workflows/markdownlint.yml | 2 ++ .github/workflows/vale.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/markdownlint.yml b/.github/workflows/markdownlint.yml index c84a256..c350d23 100644 --- a/.github/workflows/markdownlint.yml +++ b/.github/workflows/markdownlint.yml @@ -1,6 +1,8 @@ name: Markdown Lint Action on: push: + branches: + - main pull_request: workflow_dispatch: diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index bf0a458..9b2e5e2 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -1,6 +1,8 @@ name: Vale Action on: push: + branches: + - main pull_request: workflow_dispatch: