Update Modules [5 November 2025, 07:55] #391
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: HTML tag detection | |
| on: [push, pull_request] | |
| jobs: | |
| html-check: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Check if no HTML tags are present in markdown files located at mkdocs/docs/HPC/ | |
| run: | | |
| # -n: show line number | |
| # -H: show filename | |
| # -o: show only the matching part of the line | |
| if grep -nHo '</[^>]*>' mkdocs/docs/HPC/*.md; then | |
| exit 1 | |
| else | |
| echo "No HTML tags detected in Markdown files." | |
| fi |