Skip to content

Commit

Permalink
dev: add .github directory to sparse-checkout for megalinter
Browse files Browse the repository at this point in the history
The Practicalli Megalinter configuration does not seem to be applied
when running the GitHub workflow

It is assumed that the sparse-checkout is not including the
`.github/` directory an therefore the `.github/config/megalinter.yaml`
file is not available

Add `.github` as a directory in the sparse-checkout directive
  • Loading branch information
practicalli-johnny committed Oct 20, 2023
1 parent a1012b0 commit 8fc7484
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/megalinter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
sparse-checkout: |
docs
overrides
.github
- run: echo "🐙 ${{ github.repository }} repository was cloned to the runner."
# MegaLinter Configuration
- name: MegaLinter Run
Expand Down

0 comments on commit 8fc7484

Please sign in to comment.