From d77d60b32336689d83549f27aa4d9b0c3b5a1b8e Mon Sep 17 00:00:00 2001 From: Simon Lamon <32477463+silamon@users.noreply.github.com> Date: Wed, 28 May 2025 11:11:50 +0200 Subject: [PATCH] Add CI to only use markdown extension for integrations (#39283) Co-authored-by: Joost Lekkerkerker --- .github/workflows/test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cbaa7729539..c31e7639a95 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,6 +14,16 @@ jobs: with: node-version: 20 cache: "npm" + - name: Check for .md files and suggest renaming + run: | + echo "Checking for .md files in source/_integrations..." + MD_FILES=$(find source/_integrations -type f -name "*.md") + if [ -n "$MD_FILES" ]; then + echo "Found the following .md files:" + echo "$MD_FILES" + echo "⚠️ Please rename these files from .md to .markdown" + exit 1 + fi - name: Install dependencies run: npm install env: