Skip to content

Commit 626bb3b

Browse files
dev: action/checkout v4 with sparse-checkout for changelog checker workflow
1 parent a29f646 commit 626bb3b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/changelog-check.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ jobs:
2020

2121
# Git Checkout
2222
- name: Checkout Code
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 0
26+
sparse-checkout: |
27+
CHANGELOG.md
28+
- run: echo "🐙 Sparse Checkout of ${{ github.repository }} repository to the CI runner."
2429
with:
2530
token: "${{ secrets.PAT || secrets.GITHUB_TOKEN }}"
2631
- run: echo "🐙 ${{ github.repository }} repository was cloned to the runner."

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- dev: spell lychee & repository trufflehog linters warn only (false positives)
55
- dev: action/checkout v4 with sparse-checkout for megalinter
66
- dev: sparse-checkout for publish-book workflow
7+
- dev: action/checkout v4 with sparse-checkout for changelog checker workflow
78

89
### Added
910
- building-api: add reitit overview and quick intro

0 commit comments

Comments
 (0)