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 7, 2025
1 parent 30c4e9d commit 5370d6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
env:
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: false
VALIDATE_ALL_CODEBASE: true
# Enable specific linters
VALIDATE_JAVA: true
VALIDATE_JAVASCRIPT_ES: true # Changed from VALIDATE_JAVASCRIPT
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
cp /tmp/lint-results/super-linter.log /tmp/lint-results/linter.log
else
echo "No super-linter.log found, checking alternative locations..."
find /tmp/lint-results -name "super-linter.log" -type f -exec cp {} /tmp/lint-results/linter.log \;
find /tmp -name "super-linter.log" -type f -exec cp {} /tmp/lint-results/linter.log \;
if [ ! -f "/tmp/lint-results/linter.log" ]; then
echo "No linting issues found" > /tmp/lint-results/linter.log
fi
Expand Down

0 comments on commit 5370d6a

Please sign in to comment.