Skip to content

Commit

Permalink
feature/IVYPORTAL-16678-SPIKE-Setup-Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
nhthinh-axonivy committed Jan 9, 2025
1 parent 82f3e96 commit cd6d551
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,13 @@ jobs:
VALIDATE_YAML: true
VALIDATE_XML: true
VALIDATE_CSS: true
LOG_LEVEL: VERBOSE
LOG_LEVEL: DEBUG
LOG_FILE: true
REPORT_OUTPUT: true
CREATE_LOG_FILE: true
OUTPUT_FOLDER: /tmp/lint-results
OUTPUT_FORMAT: detailed
OUTPUT_FORMAT: text
OUTPUT_DETAILS: detailed
ACTIONS_RUNNER_DEBUG: true

- name: Debug Linter Output
if: always()
Expand All @@ -70,6 +69,12 @@ jobs:
if [ -n "$LOG_FILE" ]; then
echo "Found log file: $LOG_FILE"
# Initialize summary file
echo "### Super-Linter Results" > /tmp/lint-results/summary.md
echo "" >> /tmp/lint-results/summary.md
echo "| Language | Status | Details |" >> /tmp/lint-results/summary.md
echo "|----------|--------|----------|" >> /tmp/lint-results/summary.md
# Process the log file
while IFS= read -r line; do
if echo "$line" | grep -q ".*Linter:.*status:.*"; then
Expand Down

0 comments on commit cd6d551

Please sign in to comment.