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 10, 2025
1 parent b354a50 commit d076bdd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
VALIDATE_YAML: true
VALIDATE_XML: true
VALIDATE_CSS: true
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_DOCKERFILE: true
LOG_LEVEL: DEBUG
LOG_FILE: super-linter.log
REPORT_OUTPUT: true
Expand All @@ -53,7 +55,7 @@ jobs:
if: always()
run: |
echo "=== Checking for linter output files ==="
find /tmp/lint-results -name "*lint*.log" -o -name "super-linter.log" || true
find /tmp/lint-results -name "super-linter.log" || true
echo "=== Contents of /tmp/lint-results ==="
ls -la /tmp/lint-results || true
Expand All @@ -65,9 +67,9 @@ jobs:
# Check directly in /tmp/lint-results
echo "=== Checking /tmp/lint-results ==="
LOG_FILE=$(find /tmp/lint-results -name "super-linter.log" 2>/dev/null | head -1)
LOG_FILE="/tmp/lint-results/super-linter.log"
if [ -n "$LOG_FILE" ]; then
if [ -f "$LOG_FILE" ]; then
echo "Found log file: $LOG_FILE"
# Initialize summary file
echo "### Super-Linter Results" > /tmp/lint-results/summary.md
Expand Down

0 comments on commit d076bdd

Please sign in to comment.