Skip to content

Commit 229a272

Browse files
dev: action/checkout v4 with sparse-checkout for megalinter
1 parent a69739a commit 229a272

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/megalinter.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ jobs:
2828

2929
# Git Checkout
3030
- name: Checkout Code
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
with:
33-
token: "${{ secrets.PAT || secrets.GITHUB_TOKEN }}"
3433
fetch-depth: 0
35-
- run: echo "🐙 ${{ github.repository }} repository was cloned to the runner."
36-
34+
sparse-checkout: |
35+
docs
36+
overrides
37+
.github
38+
- run: echo "🐙 Sparse Checkout of ${{ github.repository }} repository to the CI runner."
3739
# MegaLinter Configuration
3840
- name: MegaLinter Run
3941
id: ml

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Changelog
22

33
## Unreleased
4-
- ci: spell lychee & repository trufflehog linters warn only (false positives)
4+
- dev: spell lychee & repository trufflehog linters warn only (false positives)
5+
- dev: action/checkout v4 with sparse-checkout for megalinter
56

67
### Added
78
- building-api: add reitit overview and quick intro

0 commit comments

Comments
 (0)