From 74e687e4976ce4c6ad4dd7adb1d1829133c4bd4b Mon Sep 17 00:00:00 2001 From: Simon Lamon <32477463+silamon@users.noreply.github.com> Date: Wed, 28 May 2025 10:58:03 +0200 Subject: [PATCH 1/2] Markdown extension check --- .github/workflows/test.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cbaa7729539e..3b7bba72995f 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: @@ -36,4 +46,4 @@ jobs: env: CI: true - name: Run textlint - run: npm run textlint + run: npm run textlint \ No newline at end of file From c8eb61e9927555c96cad9ff36e053b0f3f58c415 Mon Sep 17 00:00:00 2001 From: Simon Lamon <32477463+silamon@users.noreply.github.com> Date: Wed, 28 May 2025 11:05:21 +0200 Subject: [PATCH 2/2] Update .github/workflows/test.yml Co-authored-by: Joost Lekkerkerker --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3b7bba72995f..c31e7639a95e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,4 +46,4 @@ jobs: env: CI: true - name: Run textlint - run: npm run textlint \ No newline at end of file + run: npm run textlint