Added AVM Terraform chatmode and instructions (#155) #467
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Line Endings | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
check-line-endings: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check for CRLF line endings in markdown files | |
run: | | |
! grep -l $'\r' $(find . -name "*.md") | |
if [ $? -eq 0 ]; then | |
echo "✅ No CRLF line endings found in markdown files" | |
exit 0 | |
else | |
echo "❌ CRLF line endings found in markdown files" | |
echo "Files with CRLF line endings:" | |
grep -l $'\r' $(find . -name "*.md") | |
exit 1 | |
fi |