Skip to content

Commit 2a42a10

Browse files
authored
Add changelog check for volto-razzle (#7919)
1 parent f390a61 commit 2a42a10

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/changelog.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
- 'packages/types/**'
3333
scripts:
3434
- 'packages/scripts/**'
35+
voltoRazzle:
36+
- 'packages/volto-razzle/**'
3537
voltoSlate:
3638
- 'packages/volto-slate/**'
3739
wrongNews:
@@ -80,6 +82,14 @@ jobs:
8082
env:
8183
BASE_BRANCH: ${{ github.base_ref }}
8284

85+
- name: volto-razzle changelog check
86+
if: steps.filter.outputs.voltoRazzle == 'true'
87+
run: |
88+
git fetch --no-tags origin main
89+
towncrier check --compare-with origin/main --dir packages/volto-razzle
90+
env:
91+
BASE_BRANCH: ${{ github.base_ref }}
92+
8393
- name: Wrong location of news changelog check
8494
if: steps.filter.outputs.wrongNews == 'true'
8595
run: echo "News items should be moved from the repository root to the appropriate package root in `packages/package-name`." && exit 1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add CI check for volto-razzle changelog. @davisagli

0 commit comments

Comments
 (0)