Skip to content

Commit 6557159

Browse files
dev: skip readme change and sparse checkout for changelog check workflow
1 parent a8cce51 commit 6557159

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

β€Ž.github/workflows/changelog-check.yamlβ€Ž

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
name: Changelog Check
55
on:
66
pull_request:
7+
paths-ignore:
8+
- "README.md"
79
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
810

911
jobs:
@@ -15,14 +17,19 @@ jobs:
1517
- run: echo "🐧 Job running on ${{ runner.os }} server"
1618
- run: echo "πŸ™ Using ${{ github.ref }} branch from ${{ github.repository }} repository"
1719

20+
# Git Checkout
1821
- name: Checkout Code
1922
uses: actions/checkout@v4
2023
with:
2124
fetch-depth: 0
2225
sparse-checkout: |
26+
docs
27+
overrides
28+
.github
2329
CHANGELOG.md
24-
- run: echo "πŸ™ ${{ github.repository }} repository sparse-checkout to the CI runner."
30+
- run: echo "πŸ™ Sparse Checkout of ${{ github.repository }} repository to the CI runner."
2531

32+
# Changelog Enforcer
2633
- name: Changelog Enforcer
2734
uses: dangoslen/changelog-enforcer@v3
2835
with:

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- dev: use funding from practicalli org
1616
- dev: validate new & changed files in megalinter to speed up checks
1717
- dev: signed commit checkbox in pull request template
18+
- dev: skip readme change and sparse checkout for changelog check workflow
1819

1920
## Added
2021
- button link to Clojure CLI releases changelog to view available versions

0 commit comments

Comments
Β (0)