Skip to content

Commit

Permalink
doc chnages for chnagelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Mar 21, 2024
1 parent 2b20e10 commit 16a6446
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
- 'packages/scripts/**'
voltoSlate:
- 'packages/volto-slate/**'
documentation:
- 'packages/docs/**'
wrongNews:
- added|modified: 'news/**'
Expand Down Expand Up @@ -110,6 +112,14 @@ jobs:
env:
BASE_BRANCH: ${{ github.base_ref }}

- name: documentation changelog check
if: steps.filter.outputs.documentation == 'true'
run: |
git fetch --no-tags origin main
towncrier check --compare-with origin/main --dir docs
env:
BASE_BRANCH: ${{ github.base_ref }}

- name: Wrong location of news changelog check
if: steps.filter.outputs.wrongNews == 'true'
run: echo "News items should be moved from the repository root to the appropriate package root in `packages/package-name`." && exit 1
Expand Down

0 comments on commit 16a6446

Please sign in to comment.