Skip to content

Commit e3467ba

Browse files
committed
#157 feat: Validate repository changelog with Test-KeepAChangelogFile
1 parent 9c36f0f commit e3467ba

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/Tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ jobs:
3333
- name: Run NovaModuleTools CI test and coverage workflow
3434
run: ./scripts/build/ci/Invoke-NovaModuleToolsCI.ps1 -OutputDirectory ./artifacts
3535

36+
- name: Validate repository changelog with Test-KeepAChangelogFile
37+
run: |
38+
Import-Module ./dist/KeepAChangelog/KeepAChangelog.psd1 -Force
39+
$result = Test-KeepAChangelogFile -Path ./CHANGELOG.md
40+
if (-not $result.IsValid) {
41+
throw ($result.Errors -join [Environment]::NewLine)
42+
}
43+
3644
- name: Upload CI artifacts
3745
if: always()
3846
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)