Skip to content

Commit 6e53ad3

Browse files
committed
feat: ability to set validation depth on changelog action
1 parent 8da25b0 commit 6e53ad3

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/validate-changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
required: false
77
type: string
88
default: 'error'
9+
validation-depth:
10+
required: false
11+
type: string
12+
default: '10'
913
jobs:
1014
changelog:
1115
runs-on: ubuntu-latest
@@ -17,6 +21,7 @@ jobs:
1721
with:
1822
path: ./CHANGELOG.md
1923
validation_level: ${{ inputs.validation-level }}
24+
validation_depth: ${{ inputs.validation-depth }}
2025
- name: Validate if changelog is updated
2126
uses: dangoslen/changelog-enforcer@v3
2227
with:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- Added ability to set `validation-depth` on the validate changelog action.
13+
1014
## [1.1.0] - 2025-03-29
1115

1216
### Added

0 commit comments

Comments
 (0)