Skip to content

Commit

Permalink
dev: enhance checkout performance for megalinter
Browse files Browse the repository at this point in the history
- set `VALIDATE_ALL_CODEBASE: true` in megalinter configuration
- remove `fetch-depth: 0` in megalinter workflow configuration
  • Loading branch information
practicalli-johnny committed Sep 22, 2023
1 parent 84cff16 commit bf2d00c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/config/megalinter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
# Specific Linters:
# https://oxsecurity.github.io/megalinter/latest/supported-linters/

# ------------------------
# Checkout Code
VALIDATE_ALL_CODEBASE: true

# ------------------------
# Linters

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/megalinter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
uses: actions/checkout@v3
with:
token: "${{ secrets.PAT || secrets.GITHUB_TOKEN }}"
fetch-depth: 0
- run: echo "🐙 ${{ github.repository }} repository was cloned to the runner."

# MegaLinter Configuration
Expand Down

0 comments on commit bf2d00c

Please sign in to comment.