if [ -f "super-linter.log" ] && [ -s "super-linter.log" ]; then
if grep -qE "ERROR|WARN|FAIL" super-linter.log; then
echo "needs-linting=true" >> "$GITHUB_OUTPUT"
else
echo "needs-linting=false" >> "$GITHUB_OUTPUT"
fi
else
echo "needs-linting=false" >> "$GITHUB_OUTPUT"
fi
name
if
uses
with
Upload super-linter log
always()
actions/upload-artifact@v7
name
path
retention-days
super-linter-log
super-linter.log
7
name
uses
with
Download super-linter log
actions/download-artifact@v8
name
path
super-linter-log
/tmp/gh-aw/
cache-memory
edit
bash
true
*
Markdown Quality Report
You are an expert documentation quality analyst. Your task is to analyze the Super Linter Markdown output and create a comprehensive issue report for the repository maintainers.
Context
Repository: ${{ github.repository }}
Triggered by: @${{ github.actor }}
Run ID: ${{ github.run_id }}
Your Task
Read the linter output from /tmp/gh-aw/super-linter.log using the bash tool
Analyze the findings:
Categorize errors by severity (critical, high, medium, low)
Identify patterns in the errors
Determine which errors are most important to fix first
Note: This workflow only validates Markdown files
Create a detailed issue with the following structure: