Skip to content

Commit 125f45b

Browse files
committed
build: add step to format changelog after automatic modification
1 parent 713b7de commit 125f45b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/draft_new_hotfix.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
with:
2323
version: ${{ github.event.inputs.version }}
2424

25+
- name: Format changelog
26+
run: npx prettier -w ./CHANGELOG.md
27+
2528
# In order to make a commit, we need to initialize a user.
2629
- name: Initialize mandatory git config
2730
run: |

.github/workflows/draft_new_release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
with:
2323
version: ${{ github.event.inputs.version }}
2424

25+
- name: Format changelog
26+
run: npx prettier -w ./CHANGELOG.md
27+
2528
# In order to make a commit, we need to initialize a user.
2629
- name: Initialize mandatory git config
2730
run: |

0 commit comments

Comments
 (0)