Skip to content

Commit 4123193

Browse files
committed
fix: changelog linting
1 parent 43c9a79 commit 4123193

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/build-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ jobs:
8585
- run: yarn lint
8686
- name: Validate RC changelog
8787
if: ${{ startsWith(github.head_ref, 'release/') }}
88-
run: yarn auto-changelog validate --rc
88+
run: yarn auto-changelog validate --rc --prettier
8989
- name: Validate changelog
9090
if: ${{ !startsWith(github.head_ref, 'release/') }}
91-
run: yarn auto-changelog validate
91+
run: yarn auto-changelog validate --prettier
9292
- name: Require clean working directory
9393
shell: bash
9494
run: |

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This is an interactive command-line tool that automates steps involved in preparing a new release of a project. These steps include updating versions of one or more desired packages, adding a new section to the packages' changelogs to include changes since the previous release, and then creating a new branch from which a pull request can be submitted for review before the release goes live.
44

5-
> **Note**
5+
> **Note**
66
> At the moment, this tool only supports monorepos that use an independent versioning strategy. Support for other types of projects is planned in a future release.
77
88
## Installation
@@ -61,7 +61,7 @@ The project follows the same release process as the other libraries in the MetaM
6161
- Generally any changes that don't affect consumers of the package (e.g. lockfile changes or development environment changes) are omitted. Exceptions may be made for changes that might be of interest despite not having an effect upon the published package (e.g. major test improvements, security improvements, improved documentation, etc.).
6262
- Try to explain each change in terms that users of the package would understand (e.g. avoid referencing internal variables/concepts).
6363
- Consolidate related changes into one change entry if it makes it easier to explain.
64-
- Run `yarn auto-changelog validate --rc` to check that the changelog is correctly formatted.
64+
- Run `yarn auto-changelog validate --rc --prettier` to check that the changelog is correctly formatted.
6565

6666
5. Review and QA the release.
6767

docs/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ After running this tool, you'll want to follow a few steps:
1212
- **Consolidation.** A changelog entry represents a complete unit of work, and some work may be split across multiple commits. In this case, you can combine multiple entries together, listing multiple PRs instead of just one.
1313
- **Omission.** Some changes do not affect end users of the project (e.g. lockfile changes, development environment changes, etc.). In these cases, you may remove these entries entirely. Exceptions may be made for changes that might be of interest despite not having an effect upon the published package (e.g. major test improvements, security improvements, improved documentation, etc.).
1414

15-
3. Once you're made your edits, make sure to run `yarn auto-changelog validate --rc` to check that the changelog is correctly formatted.
15+
3. Once you're made your edits, make sure to run `yarn auto-changelog validate --rc --prettier` to check that the changelog is correctly formatted.

0 commit comments

Comments
 (0)