Add CI to only use markdown extension for integrations (#39283)

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
Simon Lamon 2025-05-28 11:11:50 +02:00 committed by GitHub
parent a6e059d9bb
commit d77d60b323
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: